Write a Pep/9 Assembly language program that takes a number from input, then adds 25 to the input value. If the result is higher than 75, print "higher" to output. If the result is lower than 75, print the number to output. Allow the user to enter numbers until a 0 (zero) is entered. * Your output must match the output below Input 77 3 40 d

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter5: Control Structures Ii (repetition)
Section: Chapter Questions
Problem 29PE
icon
Related questions
Question

Pep9 code only please, thank you.

Write a Pep/9 Assembly language program that takes a number from input, then
adds 25 to the input value. If the result is higher than 75, print "higher" to output. If the result is lower
than 75, print the number to output. Allow the user to enter numbers until a 0 (zero) is entered.
* Your output must match the output below
Input
77 3 40 d
Output
higher
28
65
Transcribed Image Text:Write a Pep/9 Assembly language program that takes a number from input, then adds 25 to the input value. If the result is higher than 75, print "higher" to output. If the result is lower than 75, print the number to output. Allow the user to enter numbers until a 0 (zero) is entered. * Your output must match the output below Input 77 3 40 d Output higher 28 65
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Hyperlinks
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning