Jordan M.

asked • 07/15/19

Arrays in c# programming/passing by reference

Create two static methods, one called changePrices and one called printit. When the changePrices method is called from Main you should pass the item_price array by reference, the price point and price difference values input from the console to it. The changePrices method should loop through the item price array and check the price point to determine the increase in price for each price array element.


This is part of an assignment i am having trouble with i have created 2 arrays inialized and filled the arrays with what i needed and now i need to create 2 static methods with names i created a public static double for changeprices but i dont know what to use if i need to call a calculate method for the method or what any help would be appreciated.

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.