Answered step by step
Verified Expert Solution
Question
1 Approved Answer
All calculations must be written in Assembly x86 (_asm{...} in Visual Studios). All other code (variable initializations, cin/cout, etc) are to be written in C++
All calculations must be written in Assembly x86 (_asm{...} in Visual Studios). All other code (variable initializations, cin/cout, etc) are to be written in C++
Write assembly programs with the following I/O 1. -----------------------7-11 Convenient Store ------- Drinks Soda(S). Water (W).... Sandwiches 10 inches... 12 inches................ ... ..$3 .......$5 Enter the number of customers: 2 How many drinks? 2 What kind of drink(S=Soda, W=Water)? w How many Sandwiches? 3 What size of sandwich (10/12 inches)? 10 Your total bill = xx How many drinks? 3 What kind of drink(S=Soda, W=Water)? S How many Sandwiches? 3 What size of sandwich (10/12 inches)? 12 Your total bill = xx 2. Let's compute your score's average: Enter your score (-1) to stop: 70 Enter your score (-1) to stop: 88 Enter your score (-1) to stop: 90 Enter your score (-1) to stop: 77 Enter your score (-1) to stop: -1 Your average is XX Scores are int type 3. Enter a sentence: Project No Three. No. of uppercase letters = 3 No. of lowercase letters = 11 Write assembly programs with the following I/O 1. -----------------------7-11 Convenient Store ------- Drinks Soda(S). Water (W).... Sandwiches 10 inches... 12 inches................ ... ..$3 .......$5 Enter the number of customers: 2 How many drinks? 2 What kind of drink(S=Soda, W=Water)? w How many Sandwiches? 3 What size of sandwich (10/12 inches)? 10 Your total bill = xx How many drinks? 3 What kind of drink(S=Soda, W=Water)? S How many Sandwiches? 3 What size of sandwich (10/12 inches)? 12 Your total bill = xx 2. Let's compute your score's average: Enter your score (-1) to stop: 70 Enter your score (-1) to stop: 88 Enter your score (-1) to stop: 90 Enter your score (-1) to stop: 77 Enter your score (-1) to stop: -1 Your average is XX Scores are int type 3. Enter a sentence: Project No Three. No. of uppercase letters = 3 No. of lowercase letters = 11Step 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