Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help programming this code in C++ ASSEMBLY LANGUAGE . I need help ASAP. Thank you. By Assembly Language, I mean this following format:

I need help programming this code in C++ ASSEMBLY LANGUAGE. I need help ASAP. Thank you.

By Assembly Language, I mean this following format:

#include

using namespace std;

//any voids

void ...()

{

}

// any varibles

int/short variable_n

int main ()

{

_asm

{

... Assembly Code

}

}

I can NOT use a for, while, do-while loop nor can I use if-else statements. I must use the asm format above. I need to use Floating Point Numbers for this program (i.e. fld, fsub, fdiv, fadd, and fmul).

---------------------MENU-----------------

Drinks

Soda(s)..1.25

Water(w).0.95

Juice(j)..2.25

Food

Hotdogs(h)..1.75

Burgers. 2.65

How many drinks? 5

Enter the number of soda, waters, and Juices: 2 1 2

How many hotdogs? 3

How many burgers? 2

Your total bill= xx.xx

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions