//This is a program to demonstrate simple if program #include<stdio.h> #include<conio.h> void main() { int a=10,b=5,c=8; ...
Read More
Showing posts with label IF control structure. Show all posts
Showing posts with label IF control structure. Show all posts
Write a program to find the number is positive or negative using if else
//this is program to find the number is positive or negative #include<stdio.h> #include<conio.h> void main() { int num; ...
Read More
Write a program to check whether the entered year is a leap year or not
//this is a program to check whether the entered year is a leap year or not #include<stdio.h> #include<conio.h> void main() ...
Read More
Write a program to find largest among 3 numbers using nested if
//this is a program to find largest among 3 numbers using nested if #include<stdio.h> #include<conio.h> void main() { int...
Read More
Write a program to calculate the income tax of employee
//this is a program to calculate the income tax of employee #include<stdio.h> #include<conio.h> void main() { char gen; ...
Read More
Write a program to display the grade of students
//this is a program to display the grade of students #include<stdio.h> #include<conio.h> void main() { int m1,m2,m3,sum; ...
Read More
Write a program to find largest among 3 numbers using if else ladder
//this is a program to find largest among 3 numbers using if else ladder #include<stdio.h> #include<conio.h> void main() { ...
Read More
Write a program to find the entered number is positive negative or 0
//This is a program to find the entered number is positive negative or 0 #include<stdio.h> #include<conio.h> void main() { ...
Read More
Subscribe to:
Posts (Atom)