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:

_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.

3. Enter a string of m( male) and f( female) and count the number of each group. Use the counters to display a bar graph representing the number of people in each group.

Sample Input/Output:

Enter a string of genders: mFFmMMffff

Males : * * * *

Females : * * * * * *

4. Toss a die and count the number of each odd and even outcomes ( the outcomes are 1-6 randomly) . Stop when the user asked not to continue. The yes/no answers are always lowercase.

Sample Input/Output:

Die shows: 3

CONTINUE(y/n)? y

Die shows: 5

CONTIUE(y/n)? y

Die shows: 2

CONTINUE(y/n)? y

Die shows: 1

CONTINUE(y/n)? n

There are more ODD outcomes

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

A Complete Guide To Data Science Essentials

Authors: Miguel

1st Edition

9358684992, 978-9358684995

More Books

Students also viewed these Databases questions