Checkout
checkout
view
Your Cart Your Cart: item(s)
Subjects -> Computer Science -> Other -> Posting #74689
Add to Shopping Cart
$2.19 Instant Download
Computer Science, Other
Year 2

Roman to Decimal Conversion in C++


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.

By OTA:  Abdun Mahmood, PhD

OTA Rating:  4.9/5

Your Price:  $2.19  (original value ~$15.96)

What's included:

  • Plain text response
  • Attachment(s):
    • roman2decimal.cpp
$2.19 Download Add to Cart

Add to Shopping Cart
$2.19 Instant Download
Data Structures C++ - 1. Write a program that allows the user to enter the last names of five candidates in a local election and the votes received by each candidate. The program should then output each candidate’s name, the votes received by that candidate, and the percentage of the total votes received by the candidate. Your program should also output the winner of the election. A sample out...
C ++ Exercise - I need a C++ program that reads students’ names followed by their test scores. The program should output each student’s name followed by the test scores and the relevant grade. It should also find and print the highest test score and the name of the students having the highest test score. Student data should be stored in a struct variable of the type studentType, which has ...
Queue C++ - Write a program that reads a line of text, changes each uppercase letter to lowercase, and places each letter both in a queue and onto a stack. The program should then verify whether the line of text is a palindrome.
Building Classes - Write a program to do rational number arithmetic, representing each rational number as a class that has instance variables for the numerator and the denominator. The program should read and display all rational numbers in the format a/b, or simply a if the denominator is 1. I have enclosed what I have however it doesn't work right. In c++ Input ---------------------------- O...
Data Structures Using C++ - Data Structures Using C++. See attached file for full problem description.

Page generated in 0.0254 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples