Question: 14. Write assignment statements that perform the following operations with the variables a andb ss. Adds 2 to a and stores the result in b

 14. Write assignment statements that perform the following operations with the

14. Write assignment statements that perform the following operations with the variables a andb ss. Adds 2 to a and stores the result in b tt, Multiplies b times 4 and stores the result in a uu. Divides a by 3.14 and stores the resul in b vw. Subtracts 8 from b and stores the result in a A+2-b 2. A-B*4 15. Assume the variables resuit, x, y, and z are all integers, and that x 4, y 8 and z 2. What value will be stored in result in each of the following statements? ww.Set result -x+y xx. Set resultz2 yy. Set result-ylx zz. Set result -yz 16. Write a pseudocode statement that subtracts the variable gownRaymens from the variable total and assigns the result to the variable due 17. Write a pseudocode statement that multiplies the variable subtotal by 0.15 and assigns the result to the variable xotalEes 18. If the following pseudocode were an actual program, what would it display? Declare Integer a5 Declare Integer b 2 Declare Integer 3 Declare Integer result Set resulta+b*c Display result 19. If the following pseudocode were an actual program, what would it display? Declare Integer num 99 Set numS Display num

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!