Guest User

pizddos.cpp

a guest
Sep 19th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.90 KB | None | 0 0
  1. #include <iostream>;
  2. using namespace std;
  3. #include <math.h>;
  4. void ch(float g);
  5.  
  6.  
  7. void ch(float g){
  8.     float w;
  9.         cin >> w;
  10.         cout << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl << endl;
  11.     g = g + 3;
  12.     cout << "ЧИСЛО: " << g;
  13.     float b;
  14.     b = g / 2;
  15.     float c;
  16.     c = g / 3;
  17.     float d;
  18.     d = g / 5;
  19.     float e;
  20.     e = g / 7;
  21.     cout << b << endl << c << endl << d << endl << e << endl << endl;
  22.     ch(g);
  23. };
  24.  
  25. void chek(){
  26.     cout << "Enter: ";
  27.     float z = 0;
  28.     float a;
  29.     cin >> a;
  30.     float b;
  31.     b = a / 2;
  32.     float c;
  33.     c = a / 3;
  34.     float d;
  35.     d = a / 5;
  36.     float e;
  37.     e = a / 7;
  38.     cout << b << endl << c << endl << d << endl << e << endl;
  39.     if (z == 0){
  40.        
  41.         ch(a);
  42.  
  43.     };
  44. };
  45.  
  46. int main(){
  47.     setlocale(0, "");
  48.         float z = 0;
  49.     if (z == 0){
  50.     chek();
  51.     };
  52. return 0;
  53. }
Advertisement
Add Comment
Please, Sign In to add comment