Question: C++ 10.4 String to number Write a program that 1.reads in 4 upper case characters Converts each into its Ascii equivalent integer 3.Adds all these
C++
10.4 String to number
Write a program that
1.reads in 4 upper case characters
- Converts each into its Ascii equivalent integer
3.Adds all these numbers together
-
Converts this resulting integer to a string
-
Prints the string.
-
Divides the integer result by 4
-
Converts this back to an Ascii char
-
prints the char
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
