Advertisement
Guest User

Untitled

a guest
Apr 20th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. // Philip wrote a program for printing numbers from 0 to 9
  2.  
  3. #include <iostream>
  4. using namespace std;
  5. int main()
  6. {
  7. int a=0;
  8. while (a<=9)
  9. {
  10. cout<<a<< ", ";
  11. }
  12. return 0;
  13. }
  14. // He made a mistake while writing. Where did he get it wrong?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement