Question: Write a c++ program that uses a vector to store the answers, so that answers[i] contains the answer for the ith amendment. Also use your
Write a c++ program that uses a vector to store the answers, so that answers[i] contains the answer for the ith amendment. Also use your roman_to_int function from problem 2 so the input amendment number is in Roman numerals. A sample run should look like this: Which amendment (use Roman numerals)? i Amendment 1 guarantees freedom of religion, speech, press, assembly, and petition. Which amendment (use Roman numerals)? wxyz That is not a valid amendment number 1 to 10 in Roman numerals. Which amendment (use Roman numerals)? VII Amendment 7 guarantees trial by jury.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
