Hi!. Well I'm just starting C and I had a few questions:
1- I created a "program" that multiplies a number with 10(I know that is easy but I just started 3 days ago) and I have a "problem", the person writes the number and the program does the calculation good and then I press ENTER( I have cin.get() ) and the program quits. How can I tell the program to keep asking the person what number he wants to multiply instead of quiting the program?
2- I want to create a program that tells the person if the number is pair or not. A pair number is a number that when is divided by 2 it does has decimal numbers. How can I tell the program if a number has decimal numbers or not?
Thank you,
C-+


will do the job.