Running on a particular treadmill you burn 3.9 calories per minute. Create an application (function) that uses a loop to display the number of calories burned after 10,15,20,25 and 30minutes
1
Expert's answer
2013-07-16T08:57:08-0400
Module Module1 'main function Sub Main() For i As Integer = 10 To 30 Step 5 Dim numberofcalories As Double = 3.8999999999999999 * i 'number of calories Console.WriteLine(numberofcalories.ToString() + " calories burned after " + i.ToString() + " minutes") 'show result Next Console.ReadLine() 'Delay End Sub
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment