# Team GyaniPandit

## Find First and Last Digit of a Number in C

In this article, we are going to understand and implement a simple C program, in which, we need to find the first and last digits of a number. For example, if the given number is 1234, then the first digit is 1, and the last digit is 4. We need to get both the digits. […]

## Java Program to Find Smallest Number in an Array

In this article, we are going to understand and implement a simple Java program, in which we are given an array, and we need to find the smallest number in the array. The Java program is very simple to do, provided that you are familiar with how to deal with arrays, and you know a

## Factorial of a Number Using Recursion in Java

At times, you might be required to calculate the factorial of a given number, so, in this article, we are going to learn about the simple program in Java, through which we can easily calculate the factorial of the given number. We will not only see the program but also the logic behind calculating the

## C program to find LCM of Two Numbers

In this article, we are going to learn about a simple C program, to find the LCM of two given numbers. The program is very simple, provided that you already know how to calculate the LCM of given numbers, and you know some basics of C programming. Let’s understand what is LCM first, and then

## C Program to Find Perimeter of Triangle

In this article, we are going to write a simple C program, in which we need to calculate the perimeter of the triangle. Calculating the perimeter of a triangle is very simple, through a C program. The perimeter of a triangle can be simply understood as the sum of all three sides of the triangle.

## C Program To Convert Kilograms to Pounds

In this article, we are going to write a simple C program, in which we are going to convert the weight from Kilograms (Kgs) to Pounds. The program is very simple to do if you are already familiar with the simple conversion formula for Kilograms to Pounds, and also you know the basics of writing

## Largest of Three Numbers in C

In this quick article, we are going to learn about a simple C program, in which we are given three numbers, and we need to find the largest of those numbers. The C program for this is really simple, provided that you already understand the logic behind this program, which will be discussed in this

## C Program to Find the Smallest of Three Numbers

C Program to Find the Smallest of Three Numbers In this article, we are going to write a simple C program, in which, we are given three numbers, and we need to find the smallest of the given three numbers. This program is very simple to do, provided that you just know the simple logic

## C Program to Convert Pounds to Kilograms

In this article, we are going to learn about a simple C program, in which we are going to convert the weight from pounds to kilograms. This type of C program is very simple, provided that you know the simple conversion formula, and you can write basic C programs. C Program to Convert Pounds to

## C Program to Convert Meter to Kilometer

In this article, we are going to understand and write a simple C program, in which, we are going to convert the distance from meter to kilometer. The C program for this is super simple, provided that you know the conversion formula, and you know how to write a C program. C Program to Convert