Ok I redid my program with some help and now i'm getting an illegal break error any reasons why
#include <stdio.h>
int main()
{
int a,b,c,num,scan,data[1000];
Type: Posts; User: teknikal
Ok I redid my program with some help and now i'm getting an illegal break error any reasons why
#include <stdio.h>
int main()
{
int a,b,c,num,scan,data[1000];
Write a program that reads a file containg a list of numbers, and then writes two files, one with all numbers divisible by three and another containing all the other numbers.
#include...
thanks i didn't know about the fflush command
and i changed the gets commands to scanf
and i changed the %c to %s so it works
thanks for the help
Ok this program is supposed to small database for at least 5 people.
I thought i had it right when i compiled and built it had 0 errors, but when I ran it, it would skip over certain input fields...
The question:
Write a function count(number, array, length) that counts the number of times number appears in array. The array has length elements. The function should be recursive. Write a...