Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- #include <string.h>
- using namespace std;
- int main()
- {
- while(true){
- int x=1;
- cout<<"8";
- for(int y=0;y<x;y++){cout << "=";
- }
- cout<<"D";
- char c;
- getch();
- {
- if(c=='a'){x--;
- }
- else if(c=='d'){x++;
- }
- }
- system ("cls");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement