This was the chapter 11 assignment 1(instructions are belowthis assignment)
Write a programthat converts a number entered inRomannumerals to decimal. Your programshould consisit ofa "class", say, romanType. An
object oftype romanType should do the following:
a. Store the number as a romannumeral.
b. Convert and store the number into decimal.
c. Print the number as a romannumeralor decimalas requested byuser.
the decimalvalues ofthe romannumerals are:
M=1000, D=500, C=100, L=50, X=10, V=5, I=1.
d. Test your programusingthe followingRomannumerals:MCXIV, CCCLIX, MDCLXVI
myhomework is the following:
Re-create the programyouwrote for Chapter 11 ProgrammingExcercise 1 to use a header file to store the class specifications (as showninthe
examples inthe text). Whencompleted, youwillbasicallybe turningina second copyofthe assignment, but you'llbe turningin2 files; the CPP
file, and a header file (.hextension) that stores the class details.

More Related Content

PDF
This was the chapter 11 assignment 1(instructions are below this assignment) ...
PDF
Lesson7 incdecoperators
PDF
Mcs 011 ignou question paper c language
PPTX
Function BPK2
PPTX
venkatesh.pptx
DOCX
Lab11bRevf.docLab 11b Alien InvasionCS 122 • 15 Points .docx
DOCX
C language tutorial
PDF
This was the chapter 11 assignment 1(instructions are below this assignment) ...
Lesson7 incdecoperators
Mcs 011 ignou question paper c language
Function BPK2
venkatesh.pptx
Lab11bRevf.docLab 11b Alien InvasionCS 122 • 15 Points .docx
C language tutorial

Similar to This was the chapter 11 assignment 1(instructions are below this assignment) Write a program that c (20)

PDF
Class 12 computer sample paper with answers
PPTX
C functions by ranjan call by value and reference.pptx
PDF
I just need answers for all TODO- I do not need any explanation or any.pdf
PDF
I just need answers for all TODO- I do not need any explanation or any (1).pdf
PPTX
C++ Homework Help
PDF
Reduce course notes class xii
PPS
C programming session 08
DOC
Lesson 5
PPTX
Get Fast C++ Homework Help
PDF
A01
PDF
The C++ Programming Language
PPT
Lecture 01 2017
PDF
Matlab functions
PDF
Basics of MATLAB programming
PPTX
Matlab-3.pptx
PPS
C programming session 08
PDF
User defined functions in matlab
RTF
over all view programming to computer
DOCX
Bca1020 programming in c
PDF
EEE 3rd year oops cat 3 ans
Class 12 computer sample paper with answers
C functions by ranjan call by value and reference.pptx
I just need answers for all TODO- I do not need any explanation or any.pdf
I just need answers for all TODO- I do not need any explanation or any (1).pdf
C++ Homework Help
Reduce course notes class xii
C programming session 08
Lesson 5
Get Fast C++ Homework Help
A01
The C++ Programming Language
Lecture 01 2017
Matlab functions
Basics of MATLAB programming
Matlab-3.pptx
C programming session 08
User defined functions in matlab
over all view programming to computer
Bca1020 programming in c
EEE 3rd year oops cat 3 ans
Ad

Recently uploaded (20)

PDF
Race Reva University – Shaping Future Leaders in Artificial Intelligence
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
PPTX
Module on health assessment of CHN. pptx
PDF
Journal of Dental Science - UDMY (2021).pdf
PDF
English Textual Question & Ans (12th Class).pdf
PPTX
Core Concepts of Personalized Learning and Virtual Learning Environments
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
PDF
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
PDF
My India Quiz Book_20210205121199924.pdf
PDF
semiconductor packaging in vlsi design fab
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
Race Reva University – Shaping Future Leaders in Artificial Intelligence
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
B.Sc. DS Unit 2 Software Engineering.pptx
LIFE & LIVING TRILOGY - PART - (2) THE PURPOSE OF LIFE.pdf
Module on health assessment of CHN. pptx
Journal of Dental Science - UDMY (2021).pdf
English Textual Question & Ans (12th Class).pdf
Core Concepts of Personalized Learning and Virtual Learning Environments
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
Virtual and Augmented Reality in Current Scenario
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 2).pdf
BP 505 T. PHARMACEUTICAL JURISPRUDENCE (UNIT 1).pdf
My India Quiz Book_20210205121199924.pdf
semiconductor packaging in vlsi design fab
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Introduction to pro and eukaryotes and differences.pptx
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Unit 4 Computer Architecture Multicore Processor.pptx
Ad

This was the chapter 11 assignment 1(instructions are below this assignment) Write a program that c

  • 1. This was the chapter 11 assignment 1(instructions are belowthis assignment) Write a programthat converts a number entered inRomannumerals to decimal. Your programshould consisit ofa "class", say, romanType. An object oftype romanType should do the following: a. Store the number as a romannumeral. b. Convert and store the number into decimal. c. Print the number as a romannumeralor decimalas requested byuser. the decimalvalues ofthe romannumerals are: M=1000, D=500, C=100, L=50, X=10, V=5, I=1. d. Test your programusingthe followingRomannumerals:MCXIV, CCCLIX, MDCLXVI myhomework is the following: Re-create the programyouwrote for Chapter 11 ProgrammingExcercise 1 to use a header file to store the class specifications (as showninthe examples inthe text). Whencompleted, youwillbasicallybe turningina second copyofthe assignment, but you'llbe turningin2 files; the CPP file, and a header file (.hextension) that stores the class details.