Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- using namespace std;
- const double VALUE = 1.609344;
- int main() {
- int k, step;
- cin >> k >> step;
- for (int i = 1; i <= k; i += step) {
- cout << setw(10) << i / VALUE << " | " << i << "\n";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement