{"id":8460,"date":"2023-01-01T23:00:00","date_gmt":"2023-01-01T17:30:00","guid":{"rendered":"https:\/\/www.codingbroz.com\/?p=8460"},"modified":"2023-01-01T13:18:08","modified_gmt":"2023-01-01T07:48:08","slug":"go-program-to-find-the-average-of-three-numbers","status":"publish","type":"post","link":"https:\/\/www.codingbroz.com\/go-program-to-find-the-average-of-three-numbers\/","title":{"rendered":"Go Program to Find the Average of Three Numbers"},"content":{"rendered":"\n

In this post, we will learn how to write a program to find the average of three numbers using the Go programming language<\/strong>.<\/p>\n\n\n\n

This tutorial asks the user to enter three integers (a, b, and c)<\/strong>, then it computes the average of the three numbers using the formula: (a + b + c) \/ 3<\/strong>.<\/p>\n\n\n\n

Since the total number of terms is 3<\/strong>, we will divide the sum by 3<\/strong> to get the average.<\/p>\n\n\n\n

\n