Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

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

Database Security

Authors: Alfred Basta, Melissa Zgola

1st Edition

1435453905, 978-1435453906

More Books

Students also viewed these Databases questions

Question

How was their resistance overcome?

Answered: 1 week ago