1. Write a program in C++ that prompts the user to input an integer between 0 and 31. If the number is less than or equal to 5, the program should output the number; otherwise, it should output A for 6, B for 7, C for 8...and Z for 31. (Hint: Use the cast operator, static_cast( ), for numbers >= 6.) Solution #include <iostream> using namespace std; int main() { int number; cout << \"Enter the number (between 0 and 31): \"; //Prompt user to enter number cin>>number; if(number>=6)Â Â //if number is greater than or equal to 6 print A for 6, B for 7.... cout <<\"Output:\"<<static_cast<char>(\'A\'+number-6); else if(number<=5) cout<<\"Output:\"<<number; } /* Output 1st run output: Enter the number (between 0 and 31): 3 Output:3 2nd run output: Enter the number (between 0 and 31): 7 Output:B */ .