Computer Science, asked by meer333, 5 months ago

Write a VB program to read five real numbers and find their average.​

Answers

Answered by tshani2006
0

Explanation:

loi panini dobi dafhod

Answered by nidaeamann
0

Explanation:

The function or code written in Microsoft Visual Basic Program editor is written below. Excel VBA is a powerful tool to automate excel tasks, to save humanly effort and time where possible

In the program, the first five numbers are considered and then average is taken which is the net result.

CODE

Sub average()

'

' average Macro

'

'

   Range("A6").Select

   ActiveCell.FormulaR1C1 = "=AVERAGE(R[-5]C:R[-1]C)"

   Range("A7").Select

End Sub

Similar questions