cm74usap2j62s
cm74usap2j62s cm74usap2j62s
  • 13-08-2018
  • Computers and Technology
contestada

I need help writing this pseudocode

I need help writing this pseudocode class=

Respuesta :

tonb
tonb tonb
  • 13-08-2018

The flowchart gives most of the solution, you only have to translate the loop to something like a while() { ... } structure:

X=0

input num

while (num > 5) {

ouput num

X = X + num

num = num + 2

}

output X

If you run this with num = 8, it would print:

8

6

14

Answer Link

Otras preguntas

The Chen family sold its house through a real estate agent for $330,000. If the real estate agent gets a 4.5% commission, how much did the Chen family have to p
can you change the sentence bellow to a comlex sentence please1. the colorful parrot flew into the tree 2. our cousin wrote us a letter3. the wind blows on the
plz help I will mark you brainlist plz ​
The bath pictured above best represents what similarity between ancient civilizations?
A matter for presentation is written in 24 pages. Each page has 20 lines. If the number of lines per page is increased to 24, then in how many pages will presen
what are the brunches of accounting​
what are four things negative about having so much territory
Write a real-world problem with y=x(2)+2?
HURRY NEED HEPL WITH THIS MATH
What is a whole number that is closest to the square root of 111