CHALLENGE ACTIVITY 415226.2573686.qx3zqy7 Jump to level 1 3.7.2: If-else statements. Write multiple if statements: If ca
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
CHALLENGE ACTIVITY 415226.2573686.qx3zqy7 Jump to level 1 3.7.2: If-else statements. Write multiple if statements: If ca
CHALLENGE ACTIVITY 415226.2573686.qx3zqy7 Jump to level 1 3.7.2: If-else statements. Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes). If after 1971, print "Probably has seat belts.". If after 1991, print "Probably has anti-lock brakes.". If after 2002, print "Probably has tire-pressure monitor.". End each phrase with period and newline. Ex: carYear = 1995 prints: Probably has seat belts. Probably has anti-lock brakes. 1 #include <stdio.h> 2 3 int main(void) { 4 int carYear; 5 6 8 9 10 11} scanf("%d", &carYear); *Your code goes here */ return 0; 2