MeehoweCK

Untitled

Apr 6th, 2023
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3.  
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     double liczba = 1.23445667;
  9.     cout << setprecision(7) << liczba << endl;
  10.     cout << 10*liczba << endl;
  11.     cout << setprecision(3) << liczba / 3 << endl;
  12.     return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment