Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assembly language for x86 processors using in c++ question #4 Computer Science 240 Project No. 3 (division, multiplication, and making decisions) Write assembly programs with

Assembly language for x86 processors using in c++

question #4 image text in transcribed

Computer Science 240 Project No. 3 (division, multiplication, and making decisions) Write assembly programs with the following vo I 7-11 Convenient Store Drinks Soda(S). Water (W).. Sandwiches 12 inches.. .S5 Second run: How many drinks? 3 How many drinks? 2 How many Sandwiches? 3 Your total billxx What kind of drink(S-Soda, W Water)? S What kind of drink(S Soda, W-Water)? W How many Sandwiches?3 What size of sandwich (10/12 inches)? 10 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 3. Read a person's name, age, and gender (m for male, f for female, case sensitive). Determine whether the person is a female teenager or not Enter your name: Pamela Pamela, how old are you? 16 Pamela, what is your gender (m/f)? Second run Enter your name:John John, how old are you? 16 John, what is your gender (m/f)? m Hi Pamela, you are a female teenager Hi John, you are not a female teenager 4. We want to solve a system of two equations with two unknowns X and Y using Cramer's rule a"f-c"d a"e-b*d Write an assembly program to ask for the values of a,b,c and d.e,f (all short type). Compute and print the values of X and Y (both short type) Enter the values of a,b, and c:3 11 Enter the values of d,e, and f: 1 -25 This program solves the system

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

Database Systems Design Implementation And Management

Authors: Peter Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions