//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
Write a Program to find the the entered character is consonant or vowel
//This is the Program to find the the entered character is consonant or vowel #include<stdio.h> #include<conio.h> void main(...
Read More
Write a Program to perform the action as per the user's choice
//This is a Program to perform the action as per the user's choice #include<stdio.h> #include<conio.h> void main() { ...
Read More
Write a program to display the designation(Post)
//This is a program to display the designation(Post) #include<stdio.h> #include<conio.h> void main() { char code; pri...
Read More
Write a program to find the largest among three numbers
//this is a program to find the largrest among three numbers #include<stdio.h> #include<conio.h> void main() { int num1,n...
Read More
Subscribe to:
Posts (Atom)