Question
I need help programming this code in C++ ASSEMBLY LANGUAGE . I need help ASAP. Thank you. By Assembly Language, I mean: _ASM { ...
I need help programming this code in C++ ASSEMBLY LANGUAGE. I need help ASAP. Thank you.
By Assembly Language, I mean:
_ASM
{
... Assembly Code
}
Format and not if, if else,or for format.
1. Write a program with the following I/O.
Drinks type are case sensitive
-------------------MENU--------------------
Drinks Soda(s)$2
Water(w) $1
Beer(b)$3
Sandwiches
6 inches$4
12inches...$6
Sample Input and Output
How many sodas? 4
What kind of drink(Soda(s)/Water(w)/Beer)? W
How many sandwiches? 4
What size(6/12 inches)? 12
Your total bill is $28.00
2. Write a program with the following I/O.
Run your program 2 times and copy and paste the last part of each output. Paste the menu only once
-----------------LA Fitness Club..
Teenagers
Male..$40
Female .$45
Adults
Male..$50
Female..$35
Sample Inputs and outputs:
Enter your last name: Trump
How old are you? 35
What is your gender(m/f)? F
Hello Mrs Trump, your membership is $35
Enter your last name: Biden
How old are you? 15
What is your gender(m/f)? m
Hello Mr Biden, your membership is $40
3. Jones family would like to use the first 3 digits of their social security as their bank PIN number if the total of those digits is an even number. Write a program to help them whether they can use the first 3 digits of their social security number as their bank pin number of not. Run your program 2 times to take care of both family members.
Sample Inputs and Outputs:
Please enter your name: Amanda
Amanda, please enter the first 3 digits of your SS: 237
Amanda, yes you can use 237 as your bank pin number
Please enter your name: Oliver
Oliver, please enter the first 3 digits of your SS: 456
Olive, no you can NOT use 456 as your bank pin number
Step 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