Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.42 KB | None | 0 0
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     setlocale( LC_ALL, "");
  8.     double netto;
  9.     cout << "Mata in ett nettopris: ";
  10.     cin >> netto;
  11.     cout << "Nettopris: " << "\t" << fixed << setprecision(2) << netto << "\t" << "inkl moms: " << "\t" << fixed << setprecision(2) << netto*1.25;
  12.     cout << endl;
  13.     cout << endl;
  14.    
  15.     system("pause");
  16.     return 0;
  17.    
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement