1. Engineering
  2. Computer Science
  3. in c language code only please no c thanks 1...

Question: in c language code only please no c thanks 1...

Question details

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

1-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 <stdio.h> 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 printfCDollar or more In 10 11 else t 12 13 14 15 16 printfCLess than a dollar\n; return 0; Feedback?

2-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 <stdio.h> 3 int main(void) 1 4int carYear 6 carYea r = 1968 ; 8 //solution 10 12 13 14 return 0; Check Try again Feedback?

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution