roman numeral conversion

how can i convert arabic numeral to roman numeral? i new to programming but i can't figure out how to do this program for my assignment.

note: this program has to follow the rule for roman numerals



this what i have
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #include<iostream>
#include <string>
using namespace std;
int main ()
{

string roman_numeral;

cout<< "input Roman Numeral:";
cin>> roman_numeral;

while()
{


}
  return 0;
}
Topic archived. No new replies allowed.