PatrickFrankAIU / ITWEB220-2404A

Learning resources for students in ITWEB 220, term 2404A.
0 stars 0 forks source link

Exercise: Loop with a Simple Calculation #16

Open PatrickFrankAIU opened 2 months ago

PatrickFrankAIU commented 2 months ago

Use a loop to calculate the product of all the integers between 25 and 75, non-inclusive. (26 times 27 times 28, etc)

Display only the total product of these numbers. Do not use branching logic in this program (no "IF").

Tip: Manipulating the loop counter is the key.

Note: The correct result will be: 2.1325772987914667e+82