Question

Write pseudocode to multiply each number in an array by 1.2. The array should be named...

Write pseudocode to multiply each number in an array by 1.2. The array should be named Raises. The array should be declared and initialized with the following numbers 20,000, 30, 0000, 30,0000, 50,000, 80,000.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Here is the solution to your question. I tried my best to solve your doubt, however, if you find it is not as good as expected by you. Please do write your further doubts regarding this question in the comment section, I will try to resolve your doubts regarding the submitted solution as soon as possible.

If you think, the solution provided by me is helpful to you please do an upvote.

Pseudocode

  1. Set Raises=[20000, 300000, 300000, 50000, 80000]
  2. FOR i=0 to 4
  3. Raises[i]=Raises[i]*1.2
  4. ENDFOR
int main() { int raises [5]; = raises [0] = 20000; raises [1] 300000; raises [2] 300000; raises [3] 50000; raises [4] = 80000

Flowchart

Main Integer Array Raises[5] Raises[0] = 20000 Raises[1] = 300000 Raises[2] = 300000 Raises[3] = 50000 Raises[4] = 80000 Next

Add a comment
Know the answer?
Add Answer to:
Write pseudocode to multiply each number in an array by 1.2. The array should be named...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT