Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

in c please In ancient Rome, the following symbols were used for numbers: This roman system is not positional like our numbering system. The symbols

in c please
image text in transcribed
In ancient Rome, the following symbols were used for numbers: This roman system is not positional like our numbering system. The symbols have fixed values regardless of where they appear in the number. For example, II is 2 and LXV is 50+ 10+5=65. However, adding a symbol before another can mean "subtract" if the symbol before is smaller. For example: IV means 4 (subtract 1 from 5) and CM means 900 (subtract 100 from 1000 ). Write a C program that prompts the user to enter a string representing a roman number and prints the equivalent decimal number Note: Assume the maximum size of the string is 100

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

Effective Delivery Effective

Answered: 1 week ago