Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Examples Example 1: Write pseudo code that reads two numbers and multiplies them together and print out their product. Example 2: Write pseudo code that

Examples


Example 1: Write pseudo code that reads two numbers and multiplies them together and print out their product. Example 2: Write pseudo code that tells a user that the number they entered is not a 5 or a 6.


Example 3: Write pseudo code that performs the following: Ask a user to enter a number. If the number is between 0


and 10, write the word blue. If the number is between 10 and 20, write the word red. if the number is between


20 and 30, write the word green. If it is any other number, write that it is not a correct color option. Example 4: Write pseudo code to print all multiples of 5 between 1 and 100 (including both 1 and 100). Example 5: Write pseudo code that will count all the even numbers up to a user defined stopping point. Example 6: Write pseudo code that will perform the following.


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


Homework 1: Write pseudo code that reads in three numbers and writes them all in sorted order.


Homework 2: Write pseudo code that will calculate a running sum. A user will enter numbers that will be added to the


sum and when a negative number is encountered, stop adding numbers and write out the final result


Step by Step Solution

3.53 Rating (160 Votes )

There are 3 Steps involved in it

Step: 1

Example 1 Display Enter the first number Read firstnumber Di... 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

Building Java Programs A Back To Basics Approach

Authors: Stuart Reges, Marty Stepp

5th Edition

013547194X, 978-0135471944

More Books

Students also viewed these Electrical Engineering questions