Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Read in numbers between 0-999 until the user enters-1. Print out the number in words along with the equivalent roman numeral. When -1 is

Read in numbers between 0-999 until the user enters-1. Print out the number in words along with the For each goal, write down a plan. Your plan may consist of the patterns and general steps your code will

Read in numbers between 0-999 until the user enters-1. Print out the number in words along with the equivalent roman numeral. When -1 is entered, print "Done". Use Australian English grammar. Note the spelling of "four", "fourteen" and "forty". Check the instruction for Roman translation here. Sample 1/0: Enter a number between 8-999, or -1 to exit: 17 In Words: seventeen In Roman: XVII Enter a number between 0-999, or -1 to exit: 103 In Words: one hundred and three In Roman: CIII Enter a number between 8-999, or -1 to exit: 888 In Words: eight hundred In Roman: DCCC Enter a number between 8-999, or -1 to exit: 42 In Words: forty two In Roman: XLII Enter a number between 8-999, or -1 to exit: -1 Done Note: Strict grammar tells us to hyphenate compound numbers. ED expects you to just separate each word by a space. For simplicity, you should just separate each word by a space. Incremental goals Write down your incremental goals. For each goal, write down a plan. Your plan may consist of the patterns and general steps your code will follow. Do NOT try to write your entire Java solution here; that would defeat the whole purpose of the planning stage. For each goal, write down a plan. Your plan may consist of the patterns and general steps your code will follow. Do NOT try to write your entire Java solution here; that would defeat the whole purpose of the planning stage. ROMAN #1 #2 #3 # 4 #5 Incremental goals Plan

Step by Step Solution

3.32 Rating (152 Votes )

There are 3 Steps involved in it

Step: 1

Code Below is the code used to convert the number into words and Romans Function used to convert the number into equivalent words def inttowordsn Crea... 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

Systems analysis and design

Authors: kenneth e. kendall, julie e. kendall

8th Edition

135094909, 013608916X, 9780135094907, 978-0136089162

More Books

Students also viewed these Programming questions

Question

What is it that a use case model describes?

Answered: 1 week ago

Question

When are closed questions appropriate for use in interviewing?

Answered: 1 week ago

Question

Calculate the missing values

Answered: 1 week ago