Advertisement
koronabora

Untitled

Jul 25th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.19 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. int main()
  5. {
  6.   float a, b, x, y;
  7.   cin >> x;
  8.   cin >> y;
  9.   a = x + y + 1;
  10.   b = x / a;
  11.   cout << a << " " << b << " " << x;
  12.   return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement