a. Ask a user to enter a number. i. If the number is between 0 and 10, write the word blue. ii. If the number is between 11 and 20, write the word red. iii. If the number is between 21 and 30, write the word green. iv. If it is any other number, write that it is not a correct color option. Write a pseudo code and draw flowchart to print all multiples of 5 between 1 and 100 (includin both 1 and 100). Write a pseudo code and draw a flowchart that will ask a user to input 5 numbers and doe following steps: a. Read in 5 separate numbers. b. Calculate the average of the five numbers. c. Find the smallest (minimum) and largest (maximum) of the five entered numbers. d. Write out the results found from steps b and c with a message describing what they are. Write a pseudocode and draw a flowchart solution, which will take in an integer value from th user and determine whether that value is odd or even

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Please answer 1 to 4 as the answers are all connected.

1. Write a pseudo code and draw a flowchart that performs the following:
a. Ask a user to enter a number.
i.
If the number is between 0 and 10, write the word blue.
ii. If the number is between 11 and 20, write the word red.
iii. If the number is between 21 and 30, write the word green.
iv. If it is any other number, write that it is not a correct color option.
2. Write a pseudo code and draw flowchart to print all multiples of 5 between 1 and 100 (including
both 1 and 100).
3.
Write a pseudo code and draw a flowchart that will ask a user to input 5 numbers and does
following steps:
a. Read in 5 separate numbers.
b. Calculate the average of the five numbers.
c. Find the smallest (minimum) and largest (maximum) of the five entered numbers.
d. Write out the results found from steps b and c with a message describing what they are.
4. Write a pseudocode and draw a flowchart solution, which will take in an integer value from the
user and determine whether that value is odd or even.
Transcribed Image Text:1. Write a pseudo code and draw a flowchart that performs the following: a. Ask a user to enter a number. i. If the number is between 0 and 10, write the word blue. ii. If the number is between 11 and 20, write the word red. iii. If the number is between 21 and 30, write the word green. iv. If it is any other number, write that it is not a correct color option. 2. Write a pseudo code and draw flowchart to print all multiples of 5 between 1 and 100 (including both 1 and 100). 3. Write a pseudo code and draw a flowchart that will ask a user to input 5 numbers and does following steps: a. Read in 5 separate numbers. b. Calculate the average of the five numbers. c. Find the smallest (minimum) and largest (maximum) of the five entered numbers. d. Write out the results found from steps b and c with a message describing what they are. 4. Write a pseudocode and draw a flowchart solution, which will take in an integer value from the user and determine whether that value is odd or even.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 6 steps with 5 images

Blurred answer
Knowledge Booster
Concept of Flowchart
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education