Exercise makes a simple program using C ++

Just add, rather than discarded mending posted here, who knows there is another cheat cheat for ngerjain task.

Here's the code listing.

The result is as follows:
Input
input
Output
output
The question is how to check the "input" is true or wrong directly at the time diinput, not time will be displayed ?, suppose the user enter the cashier code with the wrong stuff, eg 04, then when input will immediately appear error message.

If using the program code above, will display an error message "input" on the cashier code, when the cashier code will be displayed.

Komentar

Postingan Populer