Advertisement
Guest User

Untitled

a guest
Feb 14th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3. #include <string.h>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.  
  9. while(true){
  10. int x=1;
  11.  
  12. cout<<"8";
  13. for(int y=0;y<x;y++){cout << "=";
  14. }
  15. cout<<"D";
  16. char c;
  17. getch();
  18. {
  19. if(c=='a'){x--;
  20. }
  21. else if(c=='d'){x++;
  22. }
  23. }
  24. system ("cls");
  25. }
  26. return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement