write a program that accepts 10 positive numbers from the user if a negative num

  1. profile image45
    abremposted 7 years ago

    write a program that accepts 10 positive numbers from the user if a negative number is...

    encountered,the program prompts the user "negative number is encountered and ask for another input.the program will group all even numbers as well as the odd numbers.

  2. Nilam Dhok profile image59
    Nilam Dhokposted 6 years ago

    #include
    #include
    int* acceptnos(int *);
    int* validate (int *);
    int main()
    {
    unsigned int number[10],i,a[10],b[10];
    unsigned int *p;
    printf("\n Enter 10 nos: ");
    p = acceptnos(number);
    for(i=0;i

 
working