C# Program to Calculate the Average of 3 Numbers Using Function – Programming, Pseudocode Example, C# Programming Example
C# C# Console Methods

C# Program to Calculate the Average of 3 Numbers Using Function

In this example, we will learn how to find average of three numbers using functions in C#.

Write a program to explain method in C#.
Create a static function Average() that accept three number from user and returns average of the three numbers.
Source Code:

Output:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: