Program to find the average of 3 numbers in C# – Programming, Pseudocode Example, C# Programming Example
Basic C# Console

Program to find the average of 3 numbers in C#

Write a C#program that takes three numbers as input to calculate and print the average.

Variables are defined in the first row. In the next lines, values are assigned to these variables.

In the last line we print the result of processing on the screen.

You can find more similar examples of programming for this programming language in the site.

Code:

 

Output:

 

Leave a Comment

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