Program to Find LCM of two numbers in c

c program to perform lcm of two numbers

The LCM ( Least common multiple) of two integers n1 and n2 is the smallest positive integer that is perfectly divisible by both n1 and n2 (without leaving any remainder). For example, the LCM of 2 and 4 is 4. Example 1: Finding LCM using while Loop #include <stdio.h> int main(){ Program to Find LCM of two numbers in c int … Read more

Program to Print an Integer in C

program to print a integer in c

Here is a C Program to Demonstrate you how to Print an integer in C programming where a user will input an integer which is then again printed back by the program. Input is taken using a scanf and the number is printed using printf(). #include <stdio.h> int main() { int number; // printf() Function … Read more

Program to perform addition of two numbers in c

c program to perform addition of two numbers in c

Here is a C Program to do perform the addition of two numbers in c programming using basic arithmetic operation of adding two numbers and then print their sum on the user’s screen. For example, if a user will input two numbers as; ‘1’, ‘2’ then ‘3’ (1 + 2) should be printed on the … Read more

Write a Program to Check Even or Odd in java

odd even program in java

Here in this post, we are going to write a program to print even and odd numbers in java. Basic logic goes like if a number is divisible by two then it will be even, else, it Should odd. We use the modulus operator to find the remainder of a number in our program. For … Read more

Java Hello World Program

program to print hello world in java

A “Hello, World!” is a Basic program in Java that outputs Hello, World! on the screen. Since it’s a very simple program, often used to introduce a new programming language to a newbie. So Let’s explore how Java Hello World program. Java programming code :  // Your First Program class HelloWorld { public static void … Read more

All About ubersuggest


What is uberSuggest? It is evident from the data that Google is the most used search engine in the world. With search share of as high as 70%, the search behemoth seems to dominate the search business. As such, keyword research does play a vital role in every marketers’ day to day activities. Though we … Read more

For loop in c programming

For Loop in c

A for loop is a repetition control structure that allows you to efficiently write a loop that needs to execute a specific number of times. Syntax The syntax of a for loop in C programming language is : for ( initialization ; condition; updateStatement) { statement(s); } How for loop works? The initialization statement is executed only once. Then, … Read more

Write a Program to Print Hello world in C

hello world program in c

Here is a simple program to display hello world in c using the simple steps and comments for you to easily understand the code in a few lines. So all you want is to display the message “Hello World” on the screen. Let us now look at the program: #include <stdio.h> int main() { // printf() displays the string written inside quotation. printf(“Hello, … Read more

Batch file commands

List of Batch Commands

Here in this post, we are going to discuss the list of batch file Commands that are used while doing batch programming with a brief intro about each bach command this list contains nearly all bach commands you can think of   S.No Commands & Description 1 VER This batch command shows the version of … Read more