Question

Example 3: Draw a flowchart that performs the following: Ask a user to enter a number....

Example 3: Draw a flowchart 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: Draw a flowchart to print all multiples of 5 between 1 and 100 (including both 1 and 100).

Example 5: Draw a flowchart that will count all the even numbers up to a user defined stopping point.

Example 6: Draw a flowchart 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

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Question 3:

Start Enter Number No No Yes If (O<Number <10) If (20<Number<30) Print(Red) Yes Print (Green Print(not a correct option) Stop

Question 4:

Start Input Num No If Num mod 5 =0 Yes Print Num Stop

Question 5:

Start Read Count Set X to 0 Stop No X < Count Print Even Yes X=X+1 Set even = even+2

As per chegg guidelines for multiple questions we will provide answer for first question mandatory. I provide answer for first 3 questions. So to get answer for other questions you'll be able to post it again.

Know the answer?
Add Answer to:
Example 3: Draw a flowchart that performs the following: Ask a user to enter a number....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • ​ Draw a flowchart

     Draw a flowchart 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

  • (write algorithm and draw flowchart) for this question Write a C program which has a function...

    (write algorithm and draw flowchart) for this question Write a C program which has a function that takes two numbers and find the largest and the smallest number and find the result of the largest power of smallest.(for example If the entered numbers are 6 and 3 the result is 6³)

  • In C++ 2. Write a program that allows the user to enter a series of positive...

    In C++ 2. Write a program that allows the user to enter a series of positive numbers between 1 and 100 and displays the smallest and largest of the numbers entered. The program should not store the numbers that were entered, only keep track of the smallest and largest ones. The program should continue accepting numbers until the value 0 is entered and then display the results. If a number out of range is entered, tell the user it is...

  • Q1. Draw flowchart to find the average of 10 positive numbers. [Hint: Read the number in...

    Q1. Draw flowchart to find the average of 10 positive numbers. [Hint: Read the number in a loop, add them if it is positive and then find average] Q2. Draw flowchart to read 5 numbers from a user and then find the second largest number of them.

  • Write a C++ program that does the following: Asks the user to enter 3 integers, Obtains...

    Write a C++ program that does the following: Asks the user to enter 3 integers, Obtains the numbers from the user, Prints the largest number and then the smallest of the numbers, If the numbers are equal, prints the message: "These numbers are equal." Prints the sum, average, and product of the 3 numbers.

  • Using This Guideline The problem Initial Plan: Execution and Evaluation: Revised Plan: Execution and Evaluation Write...

    Using This Guideline The problem Initial Plan: Execution and Evaluation: Revised Plan: Execution and Evaluation Write a pseudocode algorithm based off C# that performs the following: a) Read in 5 separate numbers from the user. 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 the results were. The algorithm output is as...

  • In Python 3, Write a program that reads a set of floating-point values. Ask the user...

    In Python 3, Write a program that reads a set of floating-point values. Ask the user to enter the values, then print: The number of values entered. The smallest of the values The largest of the values. The average of the values. The range, that is the difference between the smallest and largest values. If no values were entered, the program should display “No values were entered” The program execution should look like (note: the bold values are sample user...

  • Create a CodeBlocks project "HW 9" Write the code to ask the user to enter the...

    Create a CodeBlocks project "HW 9" Write the code to ask the user to enter the size of an array. Then create an integer array of that exact size. Ask the user to enter a maximum value and then write a loop to fill the array with random numbers with value in the range of 1 to the maximum value. For example, if the maximum value is 100, random numbers must have value 1 to 100 inclusive. Input size of...

  • This assignment is about data types and condition checking in C++. Ask the user to enter...

    This assignment is about data types and condition checking in C++. Ask the user to enter three numbers, one after each other. The numbers can be a decimal numbers (one or two decimal precision, such as 5.4 or 6.32) or integer between 0 and 10. Then find maximum of three numbers and message the user. Examples runs are given below. Example -1 Enter a number: 4.3 Enter a number: 0.5 Enter a number: 6.7 The max of three number: 6.7...

  •    use C++ language Output the prime numbers between 1 and 1000 Ask the user for...

       use C++ language Output the prime numbers between 1 and 1000 Ask the user for a color. If they choose "red", use a while loop to output "red" 5 times. If they choose "green", output "green" seven times with a for loop. If they choose anything else, tell them to choose a better color. Create a random number between 1 and 6

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT