Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Need help with these problems please! They must be done in assembly. Computer Science 240 Assignment No.2 (ADD, SUB, IMUL, IDIV instructions) Write programs with
Need help with these problems please! They must be done in assembly.
Computer Science 240 Assignment No.2 (ADD, SUB, IMUL, IDIV instructions) Write programs with the following VO (All calculations must be done in assembly) All variables are short type MENU 1. Drink$2 How many drinks? 3 How many sandwiches: 3 Your total bill $18 2. All sides are int type I width / hl length Enter the values of a,b,c, and h for the triangle: 4 6 9 10 Enter the length and the width of the rectangle: 15 10 Triangle .45 .19 Perimeter.. Rectangle Area ...150 Perimeter..50 Use the following formula for the temperature conversion: C-5(F-32)/9, C and F are type short Enter temperature in Fahrenheit:95 95 Fo is 35 C 4. Enter a 3 digit int number: 358 The total of digits in 358 is 16 Computer Science 240 Assignment No.2 (ADD, SUB, IMUL, IDIV instructions) Write programs with the following VO (All calculations must be done in assembly) All variables are short type MENU 1. Drink$2 How many drinks? 3 How many sandwiches: 3 Your total bill $18 2. All sides are int type I width / hl length Enter the values of a,b,c, and h for the triangle: 4 6 9 10 Enter the length and the width of the rectangle: 15 10 Triangle .45 .19 Perimeter.. Rectangle Area ...150 Perimeter..50 Use the following formula for the temperature conversion: C-5(F-32)/9, C and F are type short Enter temperature in Fahrenheit:95 95 Fo is 35 C 4. Enter a 3 digit int number: 358 The total of digits in 358 is 16Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started