By using C++ programming, based on the image attached, the following flowchart contains a series of questions to determine what kind of haircut to get. Write a program that asks the questions to the user and outputs the recommended.
TUTORIAL 1
By using C++
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
Write a program that accepts a year written as a four-digit Arabic (ordinary) numeral and outputs the
year written in Roman numerals. Important Roman numerals are V for 5, X for 10, L for 50, C for 100, D
for 500, and M for 1,000. Recall that some numbers are formed by using a kind of subtraction of one
Roman “digit”; for example, IV is 4 produced as V minus I, XL is 40, CM is 900, and so on. A few sample
years: MCM is 1900, MCML is 1950, MCMLX is 1960, MCMXL is 1940, MCMLXXXIX is 1989. Assume the
year is between 1000 and 3000. Your program should include a loop that lets the user repeat this
calculation until the user says she or he is done