Advertisement
Guest User

project.cxx

a guest
Jul 20th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.43 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3. #include <stdlib.h>
  4. #include <math.h>
  5. #include <dos.h>
  6. int main()
  7. {
  8.     system("cls");
  9.     randomize();
  10.     std::cout << "             hello";
  11.     std::cout << "welcome to the lucky game" << std::endl
  12.               << "choose a no between 1 to 100" << std::endl
  13.               << "guess the no and tell to me if it is correct the i will give you 10rs" << std::endl;
  14.     int a = random(100);
  15.     delay(6000);
  16.     std::cout << a;
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement