Question: ii. Using for loop, output the numbers and their squares between 1 and 10 and output the sum of the square of the odd numbers
ii. Using for loop, output the numbers and their squares between 1 and 10 and output the sum of the square of the odd numbers between firstNumber and secondNumber. (Write only an algorithm no need to draw flow-chart). [3 points]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
