//Jeremy Huang CS1A Chapter 4, P. 220, #2
//
/**************************************************************
*
* CONVERT TO ROMAN NUMERAL
* ____________________________________________________________
* This program takes a user input from numbers ranging from
* 1 to 10 and converts the inputted number into their
* respective roman numeral.
* ____________________________________________________________
* INPUT
* num : number user inputs
*
* OUTPUT
* N/A : cout used to convert
*
**************************************************************/
#include <iostream>
using namespace std;
int main() {
int num; //INPUT - number user inputs
//User Input
cout<<"Enter a number from 1-10, integers only: "<<endl;
cin>>num;
//Output Result
switch (num)
{
case 1:
cout<<"Roman numeral version: I";
break;
case 2:
cout<<"Roman numeral version: II";
break;
case 3:
cout<<"Roman numeral version: III";
break;
case 4:
cout<<"Roman numeral version: IV";
break;
case 5:
cout<<"Roman numeral version: V";
break;
case 6:
cout<<"Roman numeral version: VI";
break;
case 7:
cout<<"Roman numeral version: VII";
break;
case 8:
cout<<"Roman numeral version: VIII";
break;
case 9:
cout<<"Roman numeral version: VIV";
break;
case 10:
cout<<"Roman numeral version: X";
break;
}
return 0;
}