C Programming
-
What is Programming Language? & It’s Types
The computer understands the programming language and the computer programming language is known as the set of rules that transforms…
Read More » -
Four-digit number and display them in reverse order
Write a c program where program should read four digit number and display those entered number into reverse order. C…
Read More » -
Principle, Time, and Rate and Find the Simple Interest
Write a program to take input from the user Principle Time Rate And find out the simple interest where simple…
Read More » -
Convert a Length from Kilometers to Meters
C Code, #include <stdio.h>#include <conio.h>void main(){ int km, m; clrscr(); printf("Enter the Kilometer:"); scanf("%d",&km); m=km*1000; printf("The length in meter=%d",m); getch();}…
Read More » -
Program to Calculate Factorial Using Static Storage Class
Program to Calculate Factorial Using Static Storage Class #include<stdio.h>#include<conio.h>void main(){int x,i;long int f;long int factstat(int i);printf("Input number:");scanf("%d",&x)for(i=1; i<=x; i++)f=factstat(i);printf("n Factorial=%d",f);}long…
Read More » -
C – Convert Entered Number of Days into Years, Months and Days
C – Convert Entered Number of Days into Years, Months, and Days C Code #include <stdio.h>#include <conio.h>void main(){ int d,year,month,day,remd;…
Read More » -
C – Find Total, Percentage and Division of Student
Write a program to find the division of a student by asking 5 subjects numbers Write a program to find…
Read More » -
C – Find Greater Number by Using Nested If Else
Write a program to find greater number by using nested if else. C Code #include <stdio.h>#include <conio.h>void main(){ int number1;…
Read More » -
C – Divide Integer Find the Quotient and Remainder
Write a program to divide an integer by another integer and find the quotient and remainder. C Code #include <stdio.h>#include…
Read More » -
C – Take Input from User in Year and Convert into Days, Month and Weeks
Write a program to take input from user in years and convert those years into days, month, weeks. C Code…
Read More »