Search found 1 match

by coolyaya
Fri Oct 22, 2004 6:45 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 38848

483 why WA help plz

This is my code...I can't find the bug...please help!

[c]#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int length,s,i,j,k,p,q=0;
char a[1000];

int main()
{
while(gets(a))
{
if(q>=1)
printf("\n");
string(a);
q++;
}

return 0;
}

int string(char a[])
{
s=0;
k=0;
length=strlen ...

Go to advanced search