Code using hla language, Assembly Language

You have been hired by the Elbonian government to write an Assembly program to help its workforce determine how much their tax will be. The tax laws in Elbonian are very simple. There is only one deduction - $1,000.00 per household member. There is only one tax rate - 15% of the total amount earned after the deduction.

Write a program that will ask the user to enter the amount earned for the year and the number of deductions for the household. The program should then print the amount earned, the total deduction amount, the taxes due and the net amount earned.

The program should run until the user enters 0 for the amount earned. Also, the program should catch any exceptions pertaining to erroneous data being entered.

Be sure to use comments to explain the code as well as comments at program, and using HLA language.

When I receive the program, and please make sure the program using HLA language code.

 

Posted Date: 2/25/2013 12:08:25 AM | Location : United States







Related Discussions:- Code using hla language, Assignment Help, Ask Question on Code using hla language, Get Answer, Expert's Help, Code using hla language Discussions

Write discussion on Code using hla language
Your posts are moderated
Related Questions
1. Write a program that calculates the Fibonacci series: 1, 1, 2, 3, 5, 8, 13, ….. (Except for the first two numbers in the sequence, each number is the sum of the preceding two n

Why is the capability to relocate processes desirable?

PLEASE MAY YOU ASSIST ME WITH SAMPLE CODES FOR PROGRAMING A FIRE ALARM MINI PROJECT

Program : Write an assembly program to find out the number of positive numbers and negative numbers from a given series of signed numbers. Solution : Take the i th num


You are to create an assembly program for the MSP430 that correctly measures the wind direction, to a precision of 45° (N, NW, W, SW, S, SE, E, NE), using the MSP430's ADC. Your

Problem (a) Prepare the assembly code sequence for each of the four styles (accumulator, memory-memory, stack, load/store) of machine for the code fragment: A = B + C;

Arithmetic Instruction :               These instructions are usually perform the arithmetic operations, like subtraction ,multiplication, addition, and division along with th

Description: LC3 allows input from keyboard and output to display on the screen. This lab will exercise the input/output capability using LC-3 Assembly language. Procedure

NAME : Logical Name of a Module: The NAME directive which is used to assign a name to an assembly language program module. The modulecan now be mention to by its declared name.