Assume the int variables i and result, have been declared but not initialized. Write a for loop header -- i.e. something of the form for ( . . . ) for the following loop body: result = result * i; When the loop terminates, result should hold the product of the odd numbers between 10 and 20. NOTE: just write the for loop header; do not write the loop body itself.

Respuesta :

Answer:

Loop header :- for(i=11;i<20;i+=2)

Explanation:

We want to find the product of odd integers between 10 and 50.Since 10 and 20 are even numbers we can exclude them and start the loop by 11 and end it on 19 and increasing the iterator i by 2 so that it is odd only .For example:- i=11 increasing by 2 then i = 13 which is odd.