The following is the list of Go programming examples or Go programs that help you practice at your lab. We categorically divided this page into different sections, and each section has a different set of Go programs.

All the Go programs that we mentioned here have the program code along with the execution result. However, we havenâ€™t explained the step-wise analysis because we already did in C programs and Python Programs. To make it simple, we have given the same names to these Go examples. I suggest you refer to C or Python to understand the analysis part (if needed).

## Basic Go programs

- First Hello World
- Add Two Numbers
- Compound Interest
- Count Digits in a Number
- Cube of a Number
- Even or Odd
- Even Numbers from 1 to N
- Factors of a Number
- Largest of Two Numbers
- Largest of Three Numbers
- Multiplication Table
- Natural Numbers from 1 to N
- Natural Numbers in Reverse Order
- Number divisible by 5 and 11
- Odd Numbers 1 to N
- Palindrome Number
- Perfect Number
- Prime Number
- Product of Digits in a Number
- Positive or Negative
- Power of a Number
- Profit or Loss
- Print 1 to 100
- Print 1 to 100 without using loop
- Reverse a Number
- Simple Interest
- Square of a Number
- Square root of a Number
- Sum and Average of Natural Numbers
- Sum of Digits in a Number
- Sum of Even Numbers
- Sum of Even and Odd Numbers
- Sum of Odd Numbers

## Go Array Program

### Volume and Surface Area Programs

The following Go examples will find and return the volume, surface area, and lateral surface area of different shapes.