Question: Write and test a program which: Declares any variables you require Initialises all variables before running into an endless loop Calculate the product of the

Write and test a program which:\ Declares any variables you require\ Initialises all variables before running into an endless loop\ Calculate the product of the series of values 1.1, 2.2, 3.3 up to and\ including 9.9, but skip 6.6 on the way,\ Note that testing for exact values of floating point numbers can be\ problematic\ Store the resulting number in a variable named result\ Then count down from the number in result to zero in steps of 10\ Count or calculate how many times 10 can be taken from result before it\ reaches zero\ Store the answer in a variable named times

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!