Question: PLEASE USE RANDOM NUMBERS THAT WILL FIT THE INSTRUCTIONs ; DONT USE THE EXAMPLE NUMBERS TO AVOID SIMILAR WORKS Mini Project Create a structure flowchart

PLEASE USE RANDOM NUMBERS THAT WILL FIT THE INSTRUCTIONs ; DONT USE THE EXAMPLE NUMBERS TO AVOID SIMILAR WORKS

Mini Project

Create a structure flowchart or pseudocode that will let the user choose an application to perform from a set of Menu items.

MENU:

[1] Determine Prime or Composite Number

[2] Reverse the order of digits

[3] Determine the Largest and Smallest

[4] QUIT

Choice: If the user chooses a number, the corresponding application will be performed. The program will only terminate if the user chooses 4 or any number not in the choices.

If the user chooses:

Determine Prime or Composite

The program will ask the user for a number and the program will output if the input number is a Prime Number or a Composite Number.

Example: Please Input a number: 11

The number is a prime number

Reverse the order of Digits

The program will ask the user for a 5-digit number (Include range checking) and the program must output the reverse order of the digits of the inputted number

Example: Input a Number: 56452

Reverse Order: 25465

Determine the Largest and Smallest

The program will ask the user for Ten numbers and the program must output the largest smallest number from the inputted numbers.

Example:

Please Input 10 numbers:

56 76 78 12 5 16 22 102 345 -45

Smallest: -45 Largest: 345

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!