Question: In C Language Code only please (No C++) thanks(: 1- 2- CHALLENGE ACTIVITY 3.4.2: Equality and relational expressions Write an expression that will cause Dollar

In C Language Code only please (No C++) thanks(:

1-In C Language Code only please (No C++) thanks(: 1- 2- CHALLENGE

2-ACTIVITY 3.4.2: Equality and relational expressions Write an expression that will cause

CHALLENGE ACTIVITY 3.4.2: Equality and relational expressions Write an expression that will cause "Dollar or more to print if the value of numCents is greater than or equal to 100 1 #include 3 int main(void) 4int numCents; be tested with values: 98, 99, 100, 101 6 scanf("%d", &numCents); // Program will 8 if ( Your solution goes here t printfC"Dollar or more In 10 11 else t 12 13 14 15 16 printfC"Less than a dollar ; return 0; Feedback? CHALLENGE ACTIVITY 3.3.2: If-else statements Reset Write multiple if statements: If carYear is before 1967, print "Probably has few safety features." (without quotes) If after 1970, print "Probably has head rests. If after 1990, print "Probably has anti-lock brakes. If after 2000, print "Probably has airbags.'. End each phrase with period and newline. Ex: carYear 1995 prints Probably has head rests. Probably has anti-lock brakes 1 #include 3 int main(void) 1 4int carYear 6 carYea r = 1968 ; 8 //solution 10 12 13 14 return 0; Check Try again Feedback

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!