help me in converting ordinary numbers to roman numerals..

..help me to create a algorithm,flowchart and a solution(code)..

i am only required to use a basic kind of statements..(if/else,nested if,switch/case..if/else if...else statement) and only a 2 kind of header files(The #include<stdio.h> and #include<conio.h>)..

my actual problem is:

Write a program that accepts an ordinary number and outputs its equivalent Roman numerals. The Ordinary numbers and their equivalent Roman numerals are given below:

Ordinary Numbers = Roman Numerals

1 = I

5 = V

10 = X

50 = L

100 = C

500 = D

1000 = M

Sample input/output dialogue:

Enter a number:734(input number)

(DCCXXXIV)

Note that the Maximum input number is 3000.