C Program To Check Given Year Is Leap Year Or Not
C Program To Check Given Year Is Leap Year Or Not Example #include <stdio.h> void main() { int year; printf("nn Enter The Year: "); scanf("%d", & year); if (year % …
C Program To Check Given Year Is Leap Year Or Not Example #include <stdio.h> void main() { int year; printf("nn Enter The Year: "); scanf("%d", & year); if (year % …
C Program To Find Largest Number Among Three Numbers Example #include<stdio.h> void main() { int number1, number2, number3; printf("n Find Out Largest Number Among Three Numbers"); printf("nEnter First Number: "); …
C Program To Check Number Is Even Or Odd Using Conditional Operator Example #include<stdio.h> void main() { int number; printf("n Check Odd Or Even "); printf("n Enter The value: "); …
C Program To Find The Area Of A Square Example #include<stdio.h> void main() { float side, area; printf("n Enter Length Of Square Side: "); scanf("%f", &side); area = side * …
C Program To Swap Two Numbers Using Temporary Variable Example #include<stdio.h> void main() { int number1, number2, tempNumber; printf("n Enter First Number: "); scanf("%d", &number1); printf(" Enter Second number: "); …
C Program To Swap Two Numbers Without Temporary Variable Example #include<stdio.h> void main() { int number1, number2; printf("n Enter First Number: "); scanf("%d", &number1); printf(" Enter Second number: "); scanf("%d", …
C Program To Calculate Percentage Of School Student Example #include<stdio.h> void main() { int percentage, total; int maths, science, english, hindi, sanskrit, computer; printf("n Student Percentage Calculator"); printf("n Enter The …
C Program To Convert Fahrenheit Into Celsius Example #include<stdio.h> int main() { float Celsius, Fahrenheit; printf("n Enter Tempreture In Fahrenheit: "); scanf("%f", &Fahrenheit); Celsius = (Fahrenheit – 32) * 5 …
C Program To Convert Celsius Into Fahrenheit Example #include<stdio.h> void main() { float Celcius, Fahrenheit; printf(“n Enter Tempreture In Celcius: “); scanf(“%f”, &Celcius); Fahrenheit = Celcius * 9 / 5 …
C Program To Convert Feet Into Meter Example #include<stdio.h> void main() { float meters, feets; printf(" Feet Into Meter Converter"); printf("nEnter Feets: "); scanf("%f", &feets); meters = feets/3.2808399; printf("Meters: %0.2f", …