Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started