Write a VB program to read five real numbers and find their average.
Answers
Answered by
0
Explanation:
loi panini dobi dafhod
Answered by
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
English,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
Science,
5 months ago
Computer Science,
5 months ago
Math,
10 months ago
Math,
10 months ago