subject

The distance a vehicle travels can be calculated as follows: distance = speed * time for example, if a train travels 40 miles-per-hour for three hours, the distance traveled is 120 miles. write a program that asks for the speed of a vehicle (in miles-per-hour) and the number of hours it has traveled. both values are assumed to be integers. it should use a loop to display the distance a vehicle has traveled for each hour of a time period specified by the user. for example, if a vehicle is traveling at 40 mph for a three-hour time period, it should display a report similar to the one that follows: hours distance traveled 1 40 2 80 3 120 do not accept a negative number for speed and do not accept any value less than 1 for time traveled.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
Consider how gaming consoles initially relied on joysticks and joypads and then made the switch to modern gaming controls, which include analog sticks, buttons and switches, touch controls, accelerometers, motion controls, etc. name at least two kinds of gaming experiences that are possible with these new control devices but were not possible on original joysticks. explain how new technologies made this newer game style possible.
Answers: 1
question
Computers and Technology, 22.06.2019 15:00
Hyperactive media sales has 10 windows 7 laptop computers used by sales-people in the organization. each laptop computer has several customized applications that are used during the sales process as well as customer relationship management software. all of the applications on the laptops are difficult to configure and have large data files. if all of the laptops have current hardware, what is the easiest way to install windows 10 on them?
Answers: 1
question
Computers and Technology, 22.06.2019 17:30
Where would you click to edit the chart data?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Cloud computing service providers manage different computing resources based on the services they offer. which resources do iaas and paas providers not manage? iaas providers do not manage the for the client, whereas paas providers usually do not manage the for their clients. iaas- storage server operating system network paas- applications interafce storage vertualiation
Answers: 2
You know the right answer?
The distance a vehicle travels can be calculated as follows: distance = speed * time for example, i...
Questions
question
Mathematics, 18.08.2020 14:01
Questions on the website: 13722361