menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Draw a simple flowchart and write the pseudocode to represent the logic for a program that allows a user to enter 10 numbers,then displays them in reverse order of entry.
asked
Mar 23, 2018
166k
views
3
votes
Draw a simple flowchart and write the pseudocode to represent the logic for a program that allows a user to enter 10 numbers,then displays them in reverse order of entry.
Computers and Technology
college
Erich Kitzmueller
asked
by
Erich Kitzmueller
7.3k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
6
votes
This is best accomplished using a stack. I'm sure you can draw the flowchart yourself:
stack s
counter=10
while counter>0
read user input n
push n on s
decrease counter
counter = 10
while counter>0
pop n from s
display n
decrease counter
Sam Coles
answered
Mar 28, 2018
by
Sam Coles
8.7k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
May 21, 2024
217k
views
Note: Implement the following 3 programs using either Java, C ++ or Python. Also design the logic of the problems using either flowchart or pseudocode. 1. Write a program that opens a specified text file
Grafthez
asked
May 21, 2024
by
Grafthez
8.1k
points
Engineering
high-school
1
answer
2
votes
217k
views
asked
Jan 20, 2018
207k
views
Draw a flowchart or write pseudocode to represent the logic of a program that allows the use to enter values for the width and length of a room's floor in feet. the program outputs the area of the floor
Clark Bao
asked
Jan 20, 2018
by
Clark Bao
8.3k
points
Computers and Technology
college
1
answer
2
votes
207k
views
asked
Jan 26, 2018
86.7k
views
Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. the program divides the value by 2 and outputs the result.
Sohaib Anwaar
asked
Jan 26, 2018
by
Sohaib Anwaar
7.9k
points
Computers and Technology
college
1
answer
2
votes
86.7k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org