Converts a number from roman numerals to decimal

Assignment Help C/C++ Programming
Reference no: EM13938530

Write a program that converts a number from Roman numerals to decimal. It needs to consist of a class, romanType. And object type of the type romanType should do the following:

A. Store the number as a Roman numeral

B. Convert and story the number into decimal

C. Print Roman or decimal as requested.

M   1000
D    500
C    100
L     50
X    10
V    5
I     1

Does not need to be compiled only need the text file.

Reference no: EM13938530

Questions Cloud

What method of depreciation does verizon use : What is the amount of depreciation expense reported for each of the last three years? What method of depreciation does Verizon use? What are the typical useful lives of Verizon's operating assets?
What is a standard of criticism : How does Ducasse define beauty and What does CJD think 'good taste' means - What is the ethical worth of a work of art supposed to be, as opposed to its "aesthetic worth"?
Define function, general structure of epithelial tissue : Define the function, general structure, and give examples of epithelial tissue: simple vs. stratified; squamous, cuboidal, columnar, and pseudostratified columnar.
Which product should be produced if the company : Which product should be produced if the company has 1,000 additional machine hours available?
Converts a number from roman numerals to decimal : Write a program that converts a number from Roman numerals to decimal. It needs to consist of a class, romanType. And object type of the type romanType should do the following:
A participative budgetary approach : Write a brief report addressing Rita's concerns, using some of the concepts covered in chapters (15, 16, 17, 20, 22, 23) in this unit, AND the information provided from the completion of Part A of this assignment, and any additional calculations u..
How much will earnings grow over the year : A firm is financing its growth with retained earnings. It is retaining 80 percent of its annual earnings. The firm's historic return on equity is 16 percent, a figure that is expected to continue into the future. How much will earnings grow over the ..
Degree of sensitivity of project to single variable rises : As the degree of sensitivity of a project to a single variable rises, the:
Variability of laboratory measured properties of category : Compare variability of laboratory measured properties of category 2 soil material for   a range of overburden pressure scenarios.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program to calculate the area of a circle

Write a program to calculate the area of a circle. The program should use two procedures. The first procedure will print out the program heading and ask the user to enter the radius. The second procedure should calculate the area. The area of the cir..

  Implement a function named sort

Write a function named sort that takes three integer parameters by reference.The function should rearrange the parameter values so that the first parameter gets set to the smallest value

  A website for a popular international music store

Imagine that you are building a Website for a popular international music store. The owner wants to play an audio clip featuring the musical instrument of the month on their home page. Determine how you would add audio to the page so that it is compa..

  An integer on this system is 4 bytes long

Assume the following for the program below. An integer on this system is 4 bytes long. The memory address where the array "a[]" was created begins at location 8000. a. #include

  Design for storing the maze layout

Design and implement a C++ program for maze layout

  Consider the class

Consider the following class:How could you create an object of this class (Select all that apply)?

  Write function to find whether number is perfect number

Write down the function perfect which determines whether number is perfect number or not. This function must receive number and return true if number is perfect.

  Lab9 c lab 9 c i request this twice but no answer on this

lab 9 c ltbrgti request this twice but no answer on this please could you check this for

  Code a linked list with a node class

Code a linked list with a node class. The node class should keep a key and pointer as private variables. Make the needed getters and setters.

  Write a program that obtains two integer numbers from users

Pseudo code is an informal high-level and compact description of a computer programming algorithm that uses structural conventions of a programming language. Write a program that obtains two integer numbers from the user

  Write the code

Write a program that allows an instructor to keep a grade book. Each students has scores for exams, homework assignments, and quizzes.

  After the array is created and loaded

After the array is created and loaded, the problem is then to sort the array and print out the contents of the sorted array. Please use a separate function for the sort routine and also a separate function for the print out of the array.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd