Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- int main()
- {
- setlocale( LC_ALL, "");
- double netto;
- cout << "Mata in ett nettopris: ";
- cin >> netto;
- cout << "Nettopris: " << "\t" << fixed << setprecision(2) << netto << "\t" << "inkl moms: " << "\t" << fixed << setprecision(2) << netto*1.25;
- cout << endl;
- cout << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement