Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Philip wrote a program for printing numbers from 0 to 9
- #include <iostream>
- using namespace std;
- int main()
- {
- int a=0;
- while (a<=9)
- {
- cout<<a<< ", ";
- }
- return 0;
- }
- // He made a mistake while writing. Where did he get it wrong?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement