02:02duration 2 minutes 2 seconds
Basic I/O, Part 7) Read ints from file
05:12duration 5 minutes 12 seconds
Basic I/O, Part 5) Prompt user within loop
03:10duration 3 minutes 10 seconds
Basic I/O, Part 3) Prompt user before cin
07:01duration 7 minutes 1 second
Basic for loop in C++
#include <iostream> int main() { for (int n{10}; n > 0; n = n - 1) { std::cout << n << "\n"; } }