Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

(TCOs 5, 6, 8) Write the C#

(TCOs 5, 6, 8) Write the C# code to for the following

problem.

Declare an array to store five values; they could be decimal numbers.

Prompt the user to store values into the array.

Then prompt the user for a percent to increase each value of the array.

Adjust the values and print the new values. Make sure you actually change the values in the array.

The output should look like this (note that it should work for any values that are input, these are just examples). You must use loop(s) to process the array.

Enter number: 10

Enter number: 20

Enter number: 30

Enter number: 40

Enter number: 50

Enter percent increase: 5

After a 5 percent increase the values are

10.5

21

31.5

42

52.5

Press any key to continue . . . ATTACHMENT PREVIEW Download attachment

Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"