Question: I have a C assignment, and I need to answer ONLY 1 of the these 12 questions. So can anyone answer ONE question from #

I have a C assignment, and I need to answer ONLY 1 of the these 12 questions. So can anyone answer ONE question from # 2>#12. Just one. Thank u  I have a C assignment, and I need to answer ONLYps:( my assignment is due in 15 mins plz help asap!!)

I will comment on all answers as far as correctness. You will get the point for the discussion whether your answer is correct or not. Again, duplicate answers will not earn the point 1. List 2 data types in C 2. Show 3 examples of literals of different types. State the type in each case. 3. Declare two variables of different types and initialize them to a value of your choice 4. Show one example of how to declare a constant. 5. Write a floating point literal corresponding to the value zero. 6. Write a literal representing C's false value. 7. Given the variable pricePerCase, write an expression corresponding to the price of 8. Write an expression that computes the remainder of the variable principal when divided by the variable divisor. Assume both are type int.) 9. Write an expression that computes the average of the values 12 and 40. 10. Given two integer variables distance and speed, write an expression that divides distance by speed using floating point arithmetic; a fractional result should be produced using casting. 11. Write a statement to find the remainder rem when num is divided by 5. (The variables have already been declared and num has already been initialized) 12. Write a statement using a compound assignment operator to add 5 to val (an integer variable that has already been declared and initialized). 13. Write a statement using the compound increment operator to increase the value of num items (an already declared integer variable) by 1. a dozen cases While working on the assignment for this week, if you get a "Linkage" or "Linker error, follow these steps to fix that error: 1. Click on the main project file, then click Properties. 2. Under Configuration, click Linker, then General. In the right side of the window. fourth option will be Enable

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!