In this post, we will see a C program to convert temperature from Celsius(°C) to Fahrenheit(°F) The program accepts the temperature value in °C  from user and convert its value equivalent to °F and display the result on the screen. Step 1: Start Step 2: Read the temperature value in Celcuis Step… Continue Reading C PROGRAM TO CONVERT TEMPERATURE (CELSIUS TO FAHRENHEIT)

In this post, we will see a C Program to read two number inputs from user and display the sum. The program below accepts two numbers from user and perform basic arithmetic operation(addition) using + operator and display the sum on screen. For algorithm & flowchart to add two numbers,… Continue Reading C PROGRAM TO ADD TWO NUMBERS / INTEGERS

C PROGRAM TO PRINT NUMBERS 1 TO N WITHOUT USING LOOPS #include<stdio.h> void print_numbers(int,int); //declaring function definition main() { int n; printf(“n *** C PROGRAMS BLOG ***”); printf(“n >>> Program to print numbers 1 to n without using Loops <<<“); printf(“nn Enter the value of n: “); scanf(“%d”,&n); //taking value… Continue Reading C PROGRAM TO PRINT NUMBERS 1 TO N WITHOUT USING LOOPS

C PROGRAM TO PRINT THE ELEMENTS OF ARRAY IN REVERSE ORDER #include<stdio.h> #define MAX 25 //maximum size of array is 25 main() { int i,n,arr[MAX]; printf(” *** C PROGRAMS BLOG ***”); printf(“n >>> Program to Print the element of array in Reverse Order<<<“); printf(“nn Enter the size of array: “);… Continue Reading C PROGRAM TO PRINT THE ELEMENTS OF ARRAY IN REVERSE ORDER

C PROGRAM TO FIND LARGEST AND SMALLEST NUMBER IN AN ARRAY original post #include<stdio.h> #define MAX 25 //maximum size of array is 25 main() { int i,n,LargeNo,SmallNo,arr[MAX]; printf(” *** C PROGRAMS BLOG ***”); printf(“\n >>> Program to find Largest element in array <<< \n”); printf(“\n Enter the size of array:… Continue Reading C PROGRAM TO FIND LARGEST AND SMALLEST NUMBER IN AN ARRAY

C PROGRAM TO FIND LARGEST / BIGGEST NUMBER IN ARRAY #include<stdio.h> #define MAX 25 //maximum size of array is 25 main() { int i,n,LargeNo,arr[MAX]; printf(“*** C PROGRAMS BLOG ***”); printf(“\n>>> Program to find Largest element in array <<<\n”); printf(“\n Enter the size of array: “); scanf(“%d”,&n); //taking size of array… Continue Reading C PROGRAM TO FIND LARGEST / BIGGEST NUMBER IN ARRAY