Advertisement
laith-0093

C++

Jan 16th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <iostream.h>
  2. #include <conio.h>
  3. void main ()
  4. {
  5. int x ;
  6. L: cout << " Enter a number: ";
  7. cin >> x;
  8. if (x > 100)
  9. cout << " Number is greater than 100\n";
  10. else
  11. cout << " Number is less than than 100\n";
  12. goto L;
  13. getch ();
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement