Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- #include <stdlib.h>
- #include <math.h>
- #include <dos.h>
- int main()
- {
- system("cls");
- randomize();
- std::cout << " hello";
- std::cout << "welcome to the lucky game" << std::endl
- << "choose a no between 1 to 100" << std::endl
- << "guess the no and tell to me if it is correct the i will give you 10rs" << std::endl;
- int a = random(100);
- delay(6000);
- std::cout << a;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement