Ask a New Question

Asked by kY

Step 1: read in the values of X and Y.
Step 2: subtract Y from X.
Step 3. If the difference between the X and Y
is negative, compute R=X+Y; if zero, compute
r=2x+2y; and if positive, compute R=X*Y.
3 years ago

Answers

Answered by oobleck
read x,y
z = x-y
v = (x<y) ? x+y : (x>y) ? x*y : 2x+2y
3 years ago
There are no AI answers yet. The ability to request AI answers is coming soon!

Submit Your Answer


We prioritize human answers over AI answers.

If you are human, and you can answer this question, please submit your answer.

Related Questions

Solve step by step 4sin^2x = 3cos^2x solve step by step this problem: q-r=r, for r Outline a step-by-step method for determining the density of a baseball. Please help with this too!... A student didn’t read step 4 in the procedure and assembled the cells based on Figure 1, connecting... step by step solving plsss im very law in math so plss to solve step by step thanks.On August 1,1990... step by step, show how to balance C2H5OH + K2Cr2O7 + H2SO4 = Cr2(SO4)3 + K2SO4 + CH3COOH + H2O 1. Which first step should readers take when they encounter an unfamiliar word? (1 point) Find a... Math Step by step answer: Some landscapers just finished planting a new flower garden. They used pin... Step 1: Read Unit 6, Lesson 4 from the textbook, paying attention to the achievements/contributions... step by step how to remove stiches at home
Submit Your Answer

Question

Step 1: read in the values of X and Y.
Step 2: subtract Y from X.
Step 3. If the difference between the X and Y
is negative, compute R=X+Y; if zero, compute
r=2x+2y; and if positive, compute R=X*Y.

Ask a New Question
Archives Contact Us Privacy Policy Terms of Use