#include<stdio.h> #include<conio.h> void main() { int rem,sum,n; sum=0; printf("\n\n Enter Any number: ");...
Read More
Showing posts with label Basic C Program. Show all posts
Showing posts with label Basic C Program. Show all posts
Write a Program to find Sum and average of 3 digit in C
#include<stdio.h> #include<conio.h> void main() { int num1,num2,num3,sum; float avg; printf("\n\nEnter any Thr...
Read More
Write a Program to find largest value using ternary operator in C
#include<stdio.h> #include<conio.h> void main() { int a,b,max; printf("\n\n Enter any two values: "); scan...
Read More
Write a Program to left and right justify in C
#include<stdio.h> #include<conio.h> void main() { int num; printf("\n\nEnter any number: "); scanf("%...
Read More
First C Program
#include<stdio.h> #include<conio.h> void main() { printf("Hello C"); }
Read More
Write a Program to find Gross Salary in C
#include<stdio.h> #include<conio.h> void main() { float bs,hra,da,gs,ns; printf("\n\n Enter your Basic Salary: ...
Read More
Write a Program in C to convert Fahrenheit to Celcius in C
#include<stdio.h> #include<conio.h> void main() { float fah,cel; printf("\n\n Enter the temperature in Fahrenheit...
Read More
Write a program to demostrate the type qualifires in C
/*This is a program to demostrate the type qualifires*/ #include<stdio.h> #include<conio.h> void main() { int i=10; sig...
Read More
Write a Program to demonstrate Increment Operator in C
#include<stdio.h> #include<conio.h> void main() { int x=10,y=20; /*Pre Increment*/ printf("\n\n\t\tPre-Incremen...
Read More
Write a Program to calculate average of 5 Subject in C
#include<stdio.h> #include<conio.h> void main() { int s1,s2,s3,s4,s5,sum; float avg; printf("\n\n Enter the mar...
Read More
Write a program to find Area of Cylinder in c
#include<stdio.h> #include<conio.h> void main() { int height; float rad,area; printf("\n\nEnter the ...
Read More
Write a Program to calculate area of circle in c
#include<stdio.h> #include<conio.h> void main() { float rad,area; printf("\n\n Enter the Radius of Circle:"...
Read More
Write a program to convert Amount to Paisa in C
/* Amount to Paisa */ #include<stdio.h> #include<conio.h> void main() { int amount,paisa; printf("\n\nEnter the ...
Read More
Subscribe to:
Posts (Atom)