Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need the full answer please! 1. (60 points) Evaluate the following expressions. Assume: x is 10.5, y is 7.2, m is 5, n is
I need the full answer please!
1. (60 points) Evaluate the following expressions. Assume: x is 10.5, y is 7.2, m is 5, n is 2 Hint: You can use printf to verify your answers. But you must know which format control character to use a. x / (double) m (double) (n * m) d. (double) (n / m) + y (double) (n / m) 35 % 6 2. (40 points) Evaluate the following expressions, assuming that letters or digits have consecutive character codes. This means that the codes for letters: A', B', .., Z' are consecutive num!bers. The codes for digits: '1, 2', ..,-9, are consecutive numbers. The codes for letters: a', 'b,,.., are consecutive numbers. Hints: You can use printf to verify your answers. But you must know which format control character to use. Refer to the code char demo.c in Lec#4 notes. (int) 'M' - (int) J' (char) ((int) 'T' + 3) c.(int) '9' - (int) '6Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started