Hello,
I was told to create a program which can read numbers from the keyboard, print how many times it occurs and get the most and least number of occurrence printed as well. I've used the getch(), for , define, arrays and switch functions in my program to read numbers from the keyboard and to calculate its occurrance.
As for the max. and min. number of occurrance, should i define it as well?
Eg: # define Get_Max 50
Otherwise, please teach me on how to go about it.
I read recently from this book, the c programming, they wrote something like this: r=1+rand()%10. What does that mean?
Thanks.