CS 13A

Prof. Sturm                  

                                    Homework #1

 

 

Write a program that prompts the user for the values of two character variables containing digits: ‘0’, ‘1’, ‘2’, …, ‘9’ .  Convert each character to the corresponding integer, find the sum of the two integers, and display the sum.