Your Virtual Knowledge Campus

Tag: c programs

Example of Some IF else if and Else C programs

#A program to find smaller/greater number from a reference number #include <stdio.h> #include <conio.h> #include <math.h> int main() { int a; printf(“Enter an integer number\n”); scanf(“%d”,&a); if(a>20) printf(“Your value is greater than 20”); else printf(“Your value is smaller than 20”); getch(); return 0; } #A program to find the solution of the quadratic equation Like: […] © 2017