Advertisement
yeskendir_sultanov

L2 - D

Mar 27th, 2024
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | Source Code | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.     double r;
  7.     cin >> r;
  8.     r = round(r * 10) / 10.0;
  9.     cout << r;
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement