In visual basic
Open the Calories Solution.sln file contained in theVB2017Chap08Calories Solution folder. Open the Code Editor windowand locate the btnDisplay_Click procedure. The procedure declaresand initializes a one-dimensional array named intCalories. Thearray stores the numbers of daily calories consumed. The procedureshould calculate and display the average number of caloriesconsumed; use the Math.Round method to round the average to aninteger. (You learned about the Math.Round method in Chapter 6.)The procedure should also display the number of days in which thedaily calories were greater than the average, the number of days inwhich the daily calories were the same as the average, and thenumber of days in which the daily calories were less than theaverage. Code the procedure. Save the solution and then start andtest the applicaiton .
Calories Consumed Display Average daily: Exit Days above average: Days at average Days below average Show transcribed image text Calories Consumed Display Average daily: Exit Days above average: Days at average Days below average
Expert Answer
Answer to In visual basic Open the Calories Solution.sln file contained in the VB2017Chap08Calories Solution folder. Open the Co…