Answer to Question #274841 in Algorithms for mikiyas

Question #274841

for Read 10 integers from the keyboard in the range 0 "-100" and cout how many of them are larger from than 50, and display this result by using a pseudocode

1
Expert's answer
2021-12-02T14:15:23-0500
Start
  Declare array numbers
  Declare variable number 
  Declare variable counter
  Set counter = 0
  for i =0 to 10
      Read number from the keyboard
      Add number to array numbers
  end for
  for i =0 to 10
      if numbers[i]>50 then
         Set counter =counter+1
      End if  
  end for
  Display counter
Stop

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS