Question: Part a) Write a program ilua reads a clurater and prints it ASCII number. Your eviput format should be similar to the sample telons: Part
Part a) Write a program ilua reads a clurater and prints it ASCII number. Your eviput format should be similar to the sample telons: Part b) Write a pregram that reads an ASCII charcier from the user and prints out the coeneyonding category from the tist below. Do see use any hardcoded ASCII values in your code. Fer example, to check if character ch is the letser A. dec ifich +A+)zaher than iffh 65. Do not use any library cail to do shese compratations (thete are library fuections that actually sotve this question). - Uppcreaseleter - Lowercase leterr - Digit (0 to 9) - Other These are sample outputs. QURSTION6. (10 paiats) Declare two integer variables (int a-7, b-10;) and a flout varibble (fleut averuge). Compute the average of a and b and store the result in average. Do this in throe different waysi one way that results in an inseger division and two ocher ways that eesult in a flouting poiet disision. Prodoce an output like the one showan below. Thteger divizion tesult a. 8.00000 Fiating-paint divisian result thi s.500000 Thoating-point division retult 121 \&. 590000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
