// main module Module main() // Local variables Declare Integer number   // Get number Call getNumber(number)   // display Roman numeral Select number Case 1:      Display “I” Case 2:      Display “II” Case 3:      Display “III” Case 4:      Display “IV” Case 5:      Display “V” Case 6:      Display “VI” Case 7:      Display “VII” Case 8:      Display “VIII” Case 9:      Display “IX” Case 10:      Display “X” Default:      Display “Error: Invalid Number” End Select End Module   // The getNumber module gets wall space and stores it // in the number reference variable. Module getNumber (Integer Ref number)       Display “Enter an integer from 1 to 10: ”       Input number End Module I want flowchart and pseudocode please

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 12PE
icon
Related questions
Question
100%

// main module

Module main()

// Local variables

Declare Integer number

 

// Get number

Call getNumber(number)

 

// display Roman numeral

Select number

Case 1:

     Display “I”

Case 2:

     Display “II”

Case 3:

     Display “III”

Case 4:

     Display “IV”

Case 5:

     Display “V”

Case 6:

     Display “VI”

Case 7:

     Display “VII”

Case 8:

     Display “VIII”

Case 9:

     Display “IX”

Case 10:

     Display “X”

Default:

     Display “Error: Invalid Number”

End Select

End Module

 

// The getNumber module gets wall space and stores it

// in the number reference variable.

Module getNumber (Integer Ref number)

      Display “Enter an integer from 1 to 10: ”

      Input number

End Module

I want flowchart and pseudocode please 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Knowledge Booster
Block Comments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT