subject

Write multiple if statements. if car_year is 1969 or earlier, print "few safety features." if 1970 or later, print "probably has seat belts." if 1990 or later, print "probably has antilock brakes." if 2000 or later, print "probably has airbags." end each phrase with a period and a newline. sample output for input: 1995 probably has seat belts. probably has antilock brakes.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:30
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 22.06.2019 21:30
Elements such as fonts colors visual structure graphics and the interface of a web page should complement each other to ensure blank
Answers: 3
question
Computers and Technology, 23.06.2019 03:00
Jason, samantha, ravi, sheila, and ankit are preparing for an upcoming marathon. each day of the week, they run a certain number of miles and write them into a notebook. at the end of the week, they would like to know the number of miles run each day, the total miles for the week, and average miles run each day. write a program to them analyze their data. your program must contain parallel arrays: an array to store the names of the runners and a two-dimensional array of five rows and seven columns to store the number of miles run by each runner each day. furthermore, your program must contain at least the following functions: a function to read and store the runners’ names and the numbers of miles run each day; a function to find the total miles run by each runner and the average number of miles run each day; and a function to output the results. (you may assume that the input data is stored in a file and each line of data is in the following form: runnername milesday1 milesday2 milesday3 milesday4 milesday5 milesday6 milesday7.)
Answers: 3
You know the right answer?
Write multiple if statements. if car_year is 1969 or earlier, print "few safety features." if 1970 o...
Questions
question
Health, 02.09.2019 00:20
question
Biology, 02.09.2019 00:20
question
Computers and Technology, 02.09.2019 00:20
question
Mathematics, 02.09.2019 00:20
Questions on the website: 13722367