kananasgarli90

Sadə funksiya

Oct 17th, 2020
590
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     double x;
  8.     cin>>x;
  9.     double y = x + sin(x);
  10.     cout.precision(4);
  11.     cout<<fixed<<y<<endl;
  12. }
  13.  
RAW Paste Data