Write a program that prompts the user to input an integerbetween 0 and 35. If the number is less than or equal to 9, theprogram should output the number; otherwise, it should output A for10, B for 11, C for 12 . . . and Z for 35. (Hint: Use the castoperator, static_cast( ), for numbers >= 10. E.g;static_cast('A'+1) will evaluated to B)
没有找到相关结果