Question: C++ question If they pick decimal to If the user picks the conversion, ask them if they want to convert decimal to hexadecimal or hexadecimal
C++ question
If they pick decimal to If the user picks the conversion, ask them if they want to convert decimal to hexadecimal or hexadecimal to decimal. hexadecimal, ask them if they want to use lowercase or uppercase letters in the printing of the hexadecimal number. Use boolean input, so input the answer as true or false and put the use?s answer in a boolean alphabetic variable. Then input a whole number in the proper base. Print the inputted number in the user's base and in the converted base. Use the prefix for printing the hexadecimal numbers. 3. 4. If the user picks the cstring date, input a cstring date in the form mm/dd/yyyy to convert to the form mm-dd-yyyy. Use cstring functions for tokens and concatenating. Divide the cstring into three tokens and concatenate the three cstring tokens together with the - between the month and day and the day and year. Print the newly formatted date
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
