one more quick questions guys
how can i make a program reject a negative value from being stored in array. e.g if a user inputs a negative value, how can i display a message that will tell the...
Type: Posts; User: wolverine12345
one more quick questions guys
how can i make a program reject a negative value from being stored in array. e.g if a user inputs a negative value, how can i display a message that will tell the...
lmao.. found my stupid mistake..
thanks guys..
ok here what i wrote
int main()
{
const int number = 10;
int num[number];
int max=0;
int min;
Thank you Elysia and dwks
The program is running fine now
I really appreciate your help.
just one quick last question.
Is there any quick way to find out the highest and lowest number from a...
lol i feel like an idiot now..
ok i removed the int i; and getting no errors but when i run the program, it hangs.. one of those infinite loops..
and the reason i am using i=a so a has the...
ok here what i wrote
int main()
{
char a =0;
int i;
Hay thanks for ur help. But can you add more details since i am still a noob in C++ .
Do i have to use 2 loops.. one loop inside the other ?
Hi guys
I am trying to write a program that uses a loop to display the characters for ASCII codes 0 through 127. But the catch is 16 characters are to be displayed on each line.
I have tried...