hi,
i want to write a pascal program. the program will input two roman numbers and an arithmetic operation and print out the result of the operation ,also as a roman number.
thanks.

Recommended Answers

All 3 Replies

We can help you if you make an effort.

How do you expect to accomplish your program goal? As a hint: roman numerals are representations of numbers; you will want to convert them to integers, perform your operation, and convert the resultant integer back to a roman representation. This suggests at least two functions you can write.

Post again with your code and we'll help you more.

So what exactly do you need help with? Understanding all the various Roman numerals?

try with one simple command

if number=1 then roman:=I

i think that will solve your problem, but it needs a lot of writing and combinations.
if someone knows another way im looking forward to hear it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.