programming, Assembly Language


Using the following table as a guide, write a program that asks the user to enter an integer test score between 0 and 100. The program should display the appropriate letter grade.


Score range Letter grade
90-100 A
80-89 B
70-79 C
60-69 D
0-59 F

• Run in a loop so that multiple test scores can be entered. Exit the program when you input 999 as the test score.
• Accumulate a counter of the number of test scores.
• Perform range checking on the user’s input: display an error message if the test score is less than 0 or grater than 100.

Posted Date: 7/3/2012 1:09:55 PM | Location : United States







Related Discussions:- programming, Assignment Help, Ask Question on programming, Get Answer, Expert's Help, programming Discussions

Write discussion on programming
Your posts are moderated
Related Questions
Intel 8259 interrupt controller :  The 8088 processor has only two interrupt control inputs, and interrupt request (INTR) and non mask able interrupt (NMI). NMI are interrupts t

I have two homework assignments due in 10 hours for the x86 processor assembly language

IInd Generation Microprocessor : The second generation microprocessor by using n MOS technology seemed in the market in 1973.   The Intel  8080, of nMOS  technology

Sum of series of 10 numbers and store result in memory location total

Write a M68000 assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n

I/O interface I/O  devices such as displays and keyboards  establish  communication of computer with outside world. Devices may be interfaced in 2 ways Memory mapped I/O and I/


GROUP : Group the Related Segments:- The directive which is used to form logical groups of segments with same purpose or type. This isused to inform the assembler to form a log

Display control 8279  provides  a  16  byte  display  memory  and  refresh  logic.  Every address in the display memory corresponds to a display unit with address zero represen

Maximim and Minimum mode 8088 system : In the maximum mode, the pin 880 is lastingly high. The functions and timings of other pins of 8088 are exactly similar to 8086. Due to t