1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
My name is Ann [436]
4 years ago
6

Write multiple if statements: If carYear is before 1968, print "Probably has few safety features." (without quotes). If after 19

70, print "Probably has head rests.". If after 1991, print "Probably has electronic stability control.". If after 2002, print "Probably has airbags.". End each phrase with period and newline. Ex: carYear = 1995 prints: Probably has head rests. Probably has electronic stability control.
Computers and Technology
1 answer:
jekas [21]4 years ago
6 0

Answer:

Following is the statement in the C language :

if(carYear < 1968)

printf("\nProbably has a few safety features.\n");

if(carYear > 1970 && carYear <=1991 )

printf("\nProbably has head rests.\n");

if(carYear > 1991 && carYear <=2002)

printf("\nProbably has anti-lock brakes\n.");

if(carYear > 2002)

printf("\nProbably has airbags.\n");

Explanation:

Following is the description of the statement:

  • In the given question we used if block. The if block is only executed when their condition is true.
  • if(carYear < 1968) In this we check we the value of "carYear" variable is less then 1968 then it prints "Probably has a few safety features." in the console window.
  • if(carYear > 1970 && carYear <=1991) In this we check we the value of "carYear" variable is greater then 1970 and less then 1992 it prints "Probably has head rests" in the console window.
  • if(carYear > 1991 && carYear <=2002 ) In this we check we the value of "carYear" variable is greater then 1991 and less then 2003 it prints "Probably has anti-lock brakes" in the console window.
  • if(carYear > 2002) In this we check we the value of "carYear" variable is greater then 2002 then it prints "Probably has airbags" in the console window.

You might be interested in
What value will the color variable have after these lines of code run?
hoa [83]

Answer:

red

Explanation:

color is set to red in the last line of being defined.

5 0
3 years ago
Match each vocabulary word to its definition.
viktelen [127]

Answer:

can you show the picture??

5 0
3 years ago
What is the vibrating or buzzing of a hand controller known as?.
sergejj [24]

It should be noted that the vibrating or buzzing of a hand controller known as Controller vibration.

<h3>What is Controller vibration use for ?</h3>

The vibration controller helps to provide tactile feedback to the user. It is used to interacts with a power amplifier, shaker to implement a vibration test.

Learn more about Controller vibration at:

brainly.com/question/14078371

6 0
3 years ago
Read 2 more answers
To apply a style to one or more of elements on a web page, configure a css _____________.
Nezavi [6.7K]

Answer:

Cascading Style Sheet

Explanation:

CSS (Cascading Style sheet) is actually a language of style sheets used for briefing any document's presentation which is written in HTML.

CSS is so designed to enable separate presentation as well as shared formatting such as to apply a single style to one or more elements on a web page.  

8 0
3 years ago
Have you seen this ProFlipperz Review? It is a course on how to flip every day household items for a profit.
Nadusha1986 [10]

Well if you have one I know it's cool but don't flip it all the time

Explanation:

6 0
3 years ago
Other questions:
  • The FIFO method of computing equivalent units includes the beginning inventory costs in computing the cost per equivalent unit f
    14·1 answer
  • A ________ is a set of rules that governs data communication.
    14·1 answer
  • A manager in your company wants to standardize all mobile device applications across different operating systems. Some users hav
    10·1 answer
  • What is the file extension for an impress file??
    10·1 answer
  • Which feature of a word processing program enables you to represent an text information in the form of a diagram?
    14·2 answers
  • Two of the following tasks would most likely be completed by a biomedical engineer?
    7·1 answer
  • What is the purpose of a email
    11·2 answers
  • Which feature of a website takes you to a different part of the website or a totally different website when you click on it? A.
    8·1 answer
  • You're the administrator for a large bottling company. At the end of each month, you routinely view all logs and look for discre
    8·1 answer
  • A web application with an SQL server database is found to be compromised by an attacker. On examination, the email IDs of the da
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!