## Go Program to find quotient and remainder

In this program, you will learn how to find quotient and remainder in Go. var a,b,r,q int fmt.Scan(&a, &b) Example: How to find quotient and remainder in Go package main…

## Go Program to print table of any number

In this program, you will learn how to print a table of any number in Go. for i := 1; i <= 10; i++ { //statement } Example: How to…

## Go Program to find the largest of three numbers using nested if

In this program, you will learn how to find the largest of three numbers using nested if statement in Go. 10 20 30 => 30 10 20 12 => 20…

## Go Program to find the largest number among three numbers

In this program, you will learn how to find the largest number among the three numbers in Go. 10 20 30 => 30 10 20 12 => 20 Example: How…

## Go Program to print even numbers between 1 to 100

In this program, you will learn how to print even numbers between 1 to 100 in Go. if i % 2 == 0 { //statement } Example: How to print…

## Go Program to check a number is even or odd

In this program, you will learn how to check a number is even or odd in Go. if num % 2 == 0 { //statement } Example: How to check…

## Go Program to check the age of a user is eligible for voting or not

In this program, you will learn how to check the age of a user who is eligible for voting or not in Go. if age >= 18 { //statement }…

## Go Program to find the square root of a number

In this program, you will learn how to find the square root of a number in Go. import "math" result := math.Sqrt(num) Example: How to find the square root of…

## Go Program to initialize more than one variable at a time

In this program, you will learn how to initialize more than one variable at a time in Go. x, y := 10, 30 var x, y int = 10, 30…

## Go Program to find the sum of two numbers using Scan()

In this program, you will learn how to find the sum of two numbers using a Scan() function in Go. 20 = 10 + 10 30 = 10 + 20…