subject
Computers and Technology, 10.08.2021 01:00 Jasten

Use 3 void functions: 1- To get num1 and num2 from the user
2- To find the sum of the series
3- To display the sum
Please see the sample output.
For the second function:
Write one for loop that calculates the total of the following series of numbers:
Numl/num2+ .. + num2 /num1
Example:
1/30 + 1/29 + 1/28 + 1/27 + ... 30/1
/* OUTPUT
Please enter 2 numbers:
Please enter numberl: 1
Please enter number2: 30
Here is the sum of the numbers: 1/30 + + 30/1 is: 93.8446
Press any key to close this window ...

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:20, destinyleisantos
The kurt vonnegut commencement speech, the neiman-marcus chocolate chip cookie recipe, and the get-well emails to the dying boy are examples of select one: a. social engineering b. hoax emails c. email viruses d. worms
Answers: 1
image
Computers and Technology, 22.06.2019 23:30, ansonhunter8891
What are listed in the vertical columns across the top of the event editor? a. file names b. conditions c. check marks d. action types
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, jolleyrancher78
What are the possible consequences of computer hacking? what is computer piracy? describe some examples. what are the effects of computer piracy? what are the possible consequences of computer piracy? what is intentional virus setting? describe some examples. what are the effects of intentional virus setting? what are the possible consequences of intentional virus setting? what is invasion of privacy? describe some examples. what are the effects of invasion of privacy? what are the possible consequences of invasion of privacy? what is an acceptable use policy and what is the purpose of the acceptable use policy what is intellectual property and how can you use it?
Answers: 1
image
Computers and Technology, 23.06.2019 18:40, brooklyn4932
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
You know the right answer?
Use 3 void functions: 1- To get num1 and num2 from the user
2- To find the sum of the series<...

Questions in other subjects: