User Profile
Collapse
-
-
Then it says generate n integers and use the remainder operator to have all these numbers become no greater then 10.Leave a comment:
-
Sorry, it says,the user enters a non-zero number as seed and a positive integer, say n, which is the size of the sample. "n" has to be validated between 1 and 100. Ask for another n if n is not valid. Terminate the program if seed is zero.Leave a comment:
-
Array help
I'm having trouble with an array function involving seed. The code needs to display the array size in the generate function, if someone could glance at my code to point me in the right direction, I would be much obliged.
[CODE]
#include<stdio. h>
#include<conio. h>
#include<math.h >
#include<stdlib .h>
#define SIZE 100
void generate(int[],int,int);
void sort(int[],int);...
No activity results to display
Show More
Leave a comment: