Question

Can you please create a flowgorithm chart for the problem below. Also, provide pseudocode as well....

Can you please create a flowgorithm chart for the problem below. Also, provide pseudocode as well. Please do not answer this question if you cannot put into a flowgorithm chart. It must be in flowgorithm. Thanks!

Design the logic for a program that outputs every even number from 2 through 20.

Homework Answers

Answer #1

We want to design the logic of a program which will output every even numbers from 2 through 20.For this we will assume variable num as 2.A while loop is used to iterate the numbers from 2 to 20.Inside the while loop,all the values of num get printed and also the num will get updated in to num+2.

PSEUDOCODE

start

initialize num as 2

while num is less than or equal to 20

display the value of num

add 2 to the value of num

end while

stop

Flowgorithm

Flowgorithm of the given problem is shown below.

Know the answer?
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
Similar Questions
Step 3: Complete the following chart by writing what the counter and the totalNumbers value stores...
Step 3: Complete the following chart by writing what the counter and the totalNumbers value stores on each iteration of the loop. Counter totalNumbers 0 34 1 73 2 98 3 116 4 159 5 190 6 202 Lab 2 – Pseudocode and Arrays This lab requires you to think about the steps that take place in a program by writing pseudocode. Read the following program prior to completing the lab. Design the logic for a program that allows a...
Lab 3 – Pseudocode and Parallel Arrays This lab requires you to think about the steps...
Lab 3 – Pseudocode and Parallel Arrays This lab requires you to think about the steps that take place in a program by writing pseudocode. Read the following program prior to completing the lab. Design an application in which the number of days for each month in the year is stored in an array. (For example, January has 31 days, February has 28, so on. Assume that the year is not a leap year.) Also, use a parallel array to...
Please provide commenting of code so I can understand how to solve this problem. Please provide...
Please provide commenting of code so I can understand how to solve this problem. Please provide text files. Using C++ Write a program that reads a given file, and then outputs the contents of it to another file. It should also print out the number of lines and the number of times each alphabetic character appears (regardless of case) in the input file at the end of the output file. It should prompt the user for the input and output...
EVERYTHING HAS TO BE DONE IN C#. (I need pseudocode and source code please) Problem Statement:...
EVERYTHING HAS TO BE DONE IN C#. (I need pseudocode and source code please) Problem Statement: Write an abstract class called Vacation that includes three class variables named: cost, budget, and destination. It has an abstract method, KeptToBudget, returning how much the vacation is over or under budget using cost. This class has two non-abstract subclasses, each with their own class variables: All-Inclusive Vacation: brand (such as ClubMed, Delta Vacations, etc.) rating (number of stars) total cost (all-inclusive means that...
You must use Windows Programming(Do NOT use Console) to complete this assignment. Use any C# method...
You must use Windows Programming(Do NOT use Console) to complete this assignment. Use any C# method you already know. Create a Windows application that function like a banking account register. Separate the business logic from the presentation layer. The graphical user interface should allow user to input the account name, number, and balance. Provide TextBox objects for withdrawals and deposits. A button object should be available for clicking to process withdrawal and deposit transactions showing the new balance. Document and...
Can someone please provide a feedback on the discussion post below. Thank you. It is a...
Can someone please provide a feedback on the discussion post below. Thank you. It is a marketing management class. The company I have chosen to follow is my current employer Cali Bamboo. They currently utilize all the social media platforms listed in various different ways. I have been following since Sunday of this week and we have some very interesting posts as a company! We have a very eclectic work environment – We are an open work space and a...
PLEASE USING C# TO SOLVE THIS PROBLEM. THANK YOU SO MUCH! a. Create a project with...
PLEASE USING C# TO SOLVE THIS PROBLEM. THANK YOU SO MUCH! a. Create a project with a Program class and write the following two methods (headers provided) as described below: - A Method, public static int InputValue(int min, int max), to input an integer number that is between (inclusive) the range of a lower bound and an upper bound. The method should accept the lower bound and the upper bound as two parameters and allow users to re-enter the number...
PHP calculator problem Create a calculator class that will add, subtract, multiply, and divide two numbers....
PHP calculator problem Create a calculator class that will add, subtract, multiply, and divide two numbers. It will have a method that will accept three arguments consisting of a string and two numbers example ("+", 4, 5) where the string is the operator and the numbers are what will be used in the calculation. It doesn't need an HTML form, all the arguments are put in through the method. The class must check for a correct operator (+,*,-,/), and a...
The assignment is in the word document below. Please provide a clean, clearly written solution to...
The assignment is in the word document below. Please provide a clean, clearly written solution to it in excel. The document needs to be self explanatory for anyone who reads it. 20% of the grade is allocated to clarity of the calculations and steps. If it is confusing I'd take points off because good communication is of paramount significance. Write down the formulas you are using clearly before proceeding to use them and plug the numbers in it. This is...
Assistance needed with the below questions. Please provide details as to how you calculated the problem....
Assistance needed with the below questions. Please provide details as to how you calculated the problem. Please and Thank You! Clopack Company manufactures one product that goes through one processing department called Mixing. All raw materials are introduced at the start of work in the Mixing Department. The company uses the weighted-average method of process costing. Its Work in Process T-account for the Mixing Department for June follows (all forthcoming questions pertain to June): Work in Process—Mixing Department June 1...