Question: Define global data: a,b,c, value, x,y,z (x, y, z have initial values that matter) main: Prompt user for a Read integer Store integer in a
Define global data: a,b,c, value, x,y,z (x, y, z have initial values that matter)
main: Prompt user for a
Read integer
Store integer in a
Prompt user for b
Read integer
Store integer in b
Prompt user for c
Read integer
Store integer in c
Evaluate a*z+b*y+c*x
Store result in value
Print The value is ${value}
(I need help with this, please help!! Thank You)The values of x, y, z come from your three initials (if you have fewer than three, pick letters to get to three; if you have more than three, pick three of them). The point is to have three letters, each of which you turn into a number:
1. 7 if the initial is in the first third of the alphabet 2. 31if the initial is in the middle third of the alphabet
3. 57 if the initial is in the last third of the alphabet
Then pick one of them and subtract 100 from it (so it is a negative number).Note: I am not very con- cerned about which values you use, just having different values and one that is negative.
This is Assembly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
