Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sophia wants to print all three-digit numbers. She wrote the following programming segment:
- x= 999;
- while (x>999)
- {
- cout<<x<<endl;
- x++;
- }
- // When she completed the program she did not get the expected result. Answer what appeared on the screen.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement