Okay so we finished the practicals way too early the other day and our professor gave the two of us an extra assignment. We are still learning the basics of C++ and we had written a program to print three digits entered, in figures. She told us to modify the program so that, when the user enter "000" or "097" it gives output "Not A Valid Three Digit Number." and if he enters "0" or "97" the output would be "Not a Three Digit Number."
How do you do this in C++?
19
Okay so we finished the practicals way too early the other day and our professor gave the two of us an extra assignment.
We are still learning the basics of C++ and we had written a program to print three digits entered, in figures. She told us to modify the program so that, when the user enter "000" or "097" it gives output "Not A Valid Three Digit Number." and if he enters "0" or "97" the output would be "Not a Three Digit Number."
It's been 2 weeks and she too hasn't come up with a solution.. lol. Can this be done?
Sumit.
We are still learning the basics of C++ and we had written a program to print three digits entered, in figures. She told us to modify the program so that, when the user enter "000" or "097" it gives output "Not A Valid Three Digit Number." and if he enters "0" or "97" the output would be "Not a Three Digit Number."
It's been 2 weeks and she too hasn't come up with a solution.. lol. Can this be done?
Sumit.
- dealbert.net
- [ 1 ] Thanks
- [1] reply
- nmarley
- [1] reply
- kettlewell
- [ 1 ] Thanks
- [1] reply
- Harrison Ortega
- [ 1 ] Thanks
- [1] reply
- tscott_87
- [ 1 ] Thanks
- [1] reply
- Sumit Menon
- [1] reply
- SmartWeb
- [1] reply
- ram07
- [ 2 ] Thanks
- [1] reply
- Tim Brownlaw
- [ 1 ] Thanks
Next Topics on Trending Feed
-
19