4806761279990q3zqy7 Jump to level 1 Write multiple if statements: If car Year is before 1967, print "Probably has few safety features." (without quotes). If after 1970, print "Probably has seat belts.. If after 1992, print "Probably has electronic stability control.. If after 2001, print 'Probably has airbags. End each phrase with period and newline. Ex: carYear = 1995 prints: Probably has seat belts. Probably has electronic stability control. 1 #include 2 3 int main(void) { 4 int carYear; 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 } 25 26 27 scanf("%d", &carYear); if (carYear 1967) { printf("Probably has few safety features. \n"); } if (carYear 1970) { printf("Probably has seat belts.\n"); } if (carYear 1992) { printf("Probably has electronic stability control.\n"); } if (carYear - 2001) { printf("Probably has airbags.\n"); } return 0; D-D-
4806761279990q3zqy7 Jump to level 1 Write multiple if statements: If car Year is before 1967, print "Probably has few safety features." (without quotes). If after 1970, print "Probably has seat belts.. If after 1992, print "Probably has electronic stability control.. If after 2001, print 'Probably has airbags. End each phrase with period and newline. Ex: carYear = 1995 prints: Probably has seat belts. Probably has electronic stability control. 1 #include 2 3 int main(void) { 4 int carYear; 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 } 25 26 27 scanf("%d", &carYear); if (carYear 1967) { printf("Probably has few safety features. \n"); } if (carYear 1970) { printf("Probably has seat belts.\n"); } if (carYear 1992) { printf("Probably has electronic stability control.\n"); } if (carYear - 2001) { printf("Probably has airbags.\n"); } return 0; D-D-
Chapter2: Using Data
Section: Chapter Questions
Problem 14RQ
Related questions
Question
100%
Need some help with this code, C
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
Recommended textbooks for you
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning