Advertisement
Guest User

Untitled

a guest
Oct 20th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.55 KB | None | 0 0
  1. // Example program
  2. #include <iostream>
  3. using namespace std;
  4.  
  5. int num;
  6. bool JJ = true;
  7. int main()
  8. {
  9.  while(JJ)
  10.  {
  11.      cout << "[1].dllm\n" << "[2].on99\n" << "[3].898\n" << endl;
  12.      cin >> num;
  13.      switch(num)
  14.      {
  15.          case 3:
  16.          JJ = false;
  17.          break;
  18.          case 2:
  19.          cout << " dllm " << endl;
  20.          break;
  21.          case 1:
  22.          float a,b,c;
  23.          cin >> a;
  24.          cin >> b;
  25.          cin >> c;
  26.          break;
  27.          default:
  28.          cout << "hi auntie" << endl;
  29.  
  30.      }
  31.  }
  32.  return 0;
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement