Question: c++ please include screenshots 1. Write a program using a for-loop that outputs: a) the first ten 10 natural numbers each on a separate line:
please include screenshots 1. Write a program using a for-loop that outputs: a) the first ten 10 natural numbers each on a separate line: b) every 3rd number from 0 to 21 each separated by a space on the same line: 0 3 6 9 12 15 18 21 1 OWN 7 8 9 10 c) every 4th number backwards from 50 to 40 each separated by a space on the same line: d) All numbers between 'X' (user input) and 35 each separated by a space on the same line with the sum of all those numbers printed at the end, for example: 50 46 42 Please enter an integer: 30 30 31 32 33 34 35 Sum = 195
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
