Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please write program of these 3 questions in assembly language ASAP. Thanks All calculations must be done in assembly 1. Write a program to compute
Please write program of these 3 questions in assembly language ASAP. Thanks
All calculations must be done in assembly 1. Write a program to compute the volume and the surface area of the following: a. cube b. Cylinder =4 Volume = a.b.c Surface area = 2.a.b+2.b.c+2.a.c h =10 All variables are int type Volume = 2h Surface area = 1.1 +2..1h Let t =p=3 b a Sample 10 This program computes the volume and surface area of a cube and a cylinder Enter the measurements of the height(c), length( a), and width(b):10 5 3 Volume = 150 Surface area = 190 Enter the measurements of the height (h ) and radius of a cylinder: 10 5 Volume = 750 Surface area = 375 2. Write a program with the following I/O. All data are short type --MENU- Drinks..... ..$2 Sandwiches.... .$5 How many drinks? 3 How many sandwiches? 4 Your total bill = $26 3. Write a program to read your scores in 3 exams, compute and display your integer average. All scores are int type Sample I/O Enter your scores in 3 exams: 80 60 70 Your average is 70Step 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