Aman Sharma has Published 69 Articles

How to Compute Quotient and Remainder in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 08:25:03

785 Views

In this tutorial, we are going to understand the approach to finding the quotient and the remainder by performing the arithmetic operations on the dividend and the divisor provided as input by the user. This tutorial will cover two ways to do the same thing. Explanation To divide any number ... Read More

How to print the ASCII values in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 08:08:07

5K+ Views

In this tutorial, we are going to learn how to find and print the ASCII value of any character or symbol in Golang. The ASCII stands for American Standard Code for Information Exchange which is a way to represent the characters, and symbols in numeric form. Printing the ASCII value ... Read More

How to find the Area of a Circle in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 07:59:21

526 Views

In this tutorial, we are going to see the Golang program to find the Area of a Circle. The area is the total space covered by any closed figure. Formula Area of Circle - 22 / 7 * r * r r - radius of a Circle For example, ... Read More

How to find the Perimeter of a Rectangle in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 07:46:18

174 Views

In this tutorial, we are going to see the Golang program to find the perimeter of a rectangle. Perimeter is the total length of the boundary of any closed figure Formula Perimeter of rectangle - 2 * ( L + B ) L - Length of a rectangle B - ... Read More

How to Calculate Compound Interest using Golang code?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 07:37:29

313 Views

In this tutorial, we are going to see the program for calculating compound interest in Golang. It is a method of finding the accurate interest on loans in the banking and finance sector using factors like principal amount, rate per annum, and time. Due to more accuracy, the rates are ... Read More

How to Calculate Simple Interest using Golang code?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 07:16:52

309 Views

In this tutorial, we are going to see the program for calculating simple interest in Golang. It is a method of finding the interest on loans in the banking and finance sector using some factors like principal amount, rate per annum, and time. Formula simple_Interest = ( p * r ... Read More

How to find the Factorial of a number in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 06:55:21

2K+ Views

In this tutorial, we are going to write and explain the code to find the factorial of a number in Golang. The factorial is the multiplication of the number with all the numbers less than it. In this tutorial, we will see two ways to find the factorial in Golang. ... Read More

How to check whether the input number is a Neon Number in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 06:49:28

203 Views

In this tutorial, we are going to write and explain the code to check whether the given number is a neon number or not. The Neon number is a number that is equal to the sum of all the digits of its square. For example, 9 is a neon number ... Read More

How to Check Armstrong Number between Two Integers in Golang?

Aman Sharma

Aman Sharma

Updated on 29-Aug-2022 06:39:34

196 Views

In this tutorial, we are going to write and explain the code for finding the Armstrong number between two integers. The Armstrong number is a number whose sum of the cube of all the digits in the number is equal to the number itself. For example, 153 is a number ... Read More

How to Display all Prime Numbers from 1 to N in Golang?

Aman Sharma

Aman Sharma

Updated on 26-Aug-2022 09:51:55

1K+ Views

In this tutorial, we will learn how to print the prime numbers from 1 to N where N the value of N will be as an input from the user. Just a short brief about Prime numbers is that the Prime numbers are something which can be only divisible by ... Read More

Advertisements