Akhil Sharma has Published 671 Articles

Golang Program to Convert Linked list to an Array

Akhil Sharma

Akhil Sharma

Updated on 22-Dec-2022 18:19:36

496 Views

In this article we are going to learn about how to convert linked list to an array using golang program. Linked List − Elements in linked lists are typically not stored in close proximity to one another and their storage structures are less rigid, they must be stored with additional ... Read More

Golang Program to convert a number into a rational number

Akhil Sharma

Akhil Sharma

Updated on 09-Dec-2022 05:54:57

359 Views

In this tutorial we will see how to convert a number into a rational number using Go programming language. A rational number is a type of real number, which is in the form of p/q where q is not equal to zero. Any fraction with non-zero denominators is a rational ... Read More

Golang Program to extract the last two digits from the given year

Akhil Sharma

Akhil Sharma

Updated on 30-Nov-2022 13:58:11

1K+ Views

In this tutorial we will discuss how to write a GO program to extract the last two digits of a given year. This program takes any year as input and prints its last two digits. You need to extract the last two digits from a given year, by using the ... Read More

Golang Program to Print Spiral Pattern of Numbers

Akhil Sharma

Akhil Sharma

Updated on 22-Nov-2022 13:06:30

309 Views

In this tutorial, we will learn how to print spiral pattern of Numbers using Go programming language. A Spiral pattern of numbers is used to print numbers in spiral pattern on the screen. In this program we will create an array of size n, store numbers in it and use ... Read More

Golang Program to Print Reverse Pyramid Star Pattern

Akhil Sharma

Akhil Sharma

Updated on 22-Nov-2022 13:02:15

487 Views

In this tutorial we will write a Go-lang code to print Reverse pyramid star pattern. We will depict how you can print the reverse pyramid star pattern. ********* ******* ***** *** ... Read More

Golang Program to Print Pyramid Star Pattern

Akhil Sharma

Akhil Sharma

Updated on 22-Nov-2022 12:58:40

632 Views

In this tutorial we will write a Go language code to print pyramid star pattern. We will depict how you can print the pyramid star pattern. * * * * * * * ... Read More

Golang Program to convert int type variables to String

Akhil Sharma

Akhil Sharma

Updated on 22-Nov-2022 12:49:27

16K+ Views

In this tutorial we will learn how to convert int type variables to string variables using Golang programming language. A string is defined as the sequence of one or more characters (letters, numbers, or symbols). Computer applications frequently use strings as a data type thus, there is a need ... Read More

Golang Program to convert double type variables to string

Akhil Sharma

Akhil Sharma

Updated on 22-Nov-2022 12:21:36

636 Views

In this tutorial we will learn how to convert double(float64) type variables to string variables using Golang programming language. Double stands for double precision. In programming languages, a double data-type is used to handle decimal numbers more precisely i.e. using double data type we can store more number of ... Read More

Golang Program to convert double type variables to int

Akhil Sharma

Akhil Sharma

Updated on 22-Nov-2022 12:16:02

2K+ Views

In this tutorial we will learn how to convert double type variables to integer variables using Golang programming language. Double stands for double precision. In programming languages, a double data-type is used to handle decimal numbers more precisely i.e. using double data type we can store more number of digits ... Read More

Golang Program to convert Hexadecimal to Decimal

Akhil Sharma

Akhil Sharma

Updated on 16-Nov-2022 06:59:59

7K+ Views

In this article we are going to understand how to covert Hexadecimal to Decimal number using Golang Program. Hexadecimal Number Vs Decimal Numbers Any number contains 16 digits in it, it is based on base 16, which means hexadecimal numbers contains decimal number from 0 to 9 and extra 6 ... Read More

Advertisements