Question
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
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