In this C++ program, ask the user to type in 4 positive integers between 0 and 9 only. Validate that any of the four int
Posted: Fri Jul 08, 2022 6:38 am
In this C++ program, ask the user to type in 4 positive integersbetween 0 and 9 only. Validate that any of the four integers is notmore than 9 and it is positive. Now convert the four integers intoa four digit number. For example if the user type in 1 4 5 7 ..then you convert it into one integer number .. 1457. the number1457 must be stored in one variable .. and you print that variableto show the result ( DO NOT PRINT individual digits to make it looklike 1457.)