Task
Change the program so that it outputs a table of values of 2, 3, 4, ... 20 pieces of a certain type of product, if one piece of product costs 20.40 rubles
1 - 20.4 r
2 - 40.8 r
...
20 - 408.0 r
C#
1
#include <iostream>     
2
#include <iomanip>        
3
using namespace std;      
4
main()  {        
5
int i;        
6
cout << fixed << setprecision (1);  
7
8
9
}        
Your last submission is saved in the editor window.
     

Results:

All results: