Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Question Details: write a program that accepts a year written as a four digit Ar

ID: 3616393 • Letter: Q

Question

Question Details: write a program that accepts a year written as a four digit Arabicnumeral and outputs the year written in Roman numerals...you canlook up the basic roman numeral online,such as I for 1, V for5..... the easy part is assuming the year is between 1000 and 3000, sodon't worry about 1,2,3...... could you use simple method to solve this problem ? just use if, for statement, cause we didn't learn that far. Question Details: the easy part is assuming the year is between 1000 and 3000, sodon't worry about 1,2,3...... could you use simple method to solve this problem ? just use if, for statement, cause we didn't learn that far. Question Details: write a program that accepts a year written as a four digit Arabicnumeral and outputs the year written in Roman numerals...you canlook up the basic roman numeral online,such as I for 1, V for5..... the easy part is assuming the year is between 1000 and 3000, sodon't worry about 1,2,3...... could you use simple method to solve this problem ? just use if, for statement, cause we didn't learn that far.

Explanation / Answer

please rate - thanks no while loop, no function, and I don't have the book, so I don'tknow what you've learned, please rate fairly. I spend a lotof time on these. This gives true roman numbers ex: IV for 4,not IIII, or is that what you want? do you want 1994 to be MDCCCCLXXXXIIII . this is what most peoplewill probably give you that's very simple but not the true number which is MCMXCIV #include using namespace std; int main() {int num,k,exitcode; int numbers[8]={1,5,10,50,100,500,1000,5000},i,p; char letters[8]={'I','V','X','L','C','D','M'}; string roman; coutnum; for(;;) {if(num
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote