Write a program that repeatedly asks for a letter, validates the input and quits when the user enters 0. The program should reverse the case of the letter before printing it and its ASCII value. (Make...


Write a program that repeatedly asks for a letter, validates the input and quits when the user


enters 0. The program should reverse the case of the letter before printing it and its ASCII value.


(Make sure the buffer doesn’t create problems.)


Write a program to accept a fl oating point number from the keyboard. Print the same number


in the following formats: (i) total width of 10 characters, (ii) as in (i) but with 3 places after


decimal, (iii) exponential notation, (iv) as in (iii) but with 3 places after decimal.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here