Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double num1 = 3.12345678;
- std::cout << std::fixed << std::showpoint;
- std::cout << std::setprecision(8);
- std::cout << num1 << std::endl;
- for (int i = 1; i < 10; ++i) {
- for (int j = 1; j < 10; ++j) {
- std::cout << std::setw(3) << i * j << ' ';
- }
- std::cout << '\n';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement