Program to find the average of three numbers

Program to find the average of three numbers

#include<stdio.h> #include<conio.h> void main() {    Int a,b,c;    float avg;     /*variable for storing the result, which may be float */    clrscr();          /*for clearing the output...
Program to add two numbers

Program to add two numbers

  #include<stdio.h> #include<conio.h> void main() {   int a,b,c;         /*declaring the variables*/   clrscr();          printf(“enter two numbersn”); scanf(“%d,%d”, &a,&b);   /*inputting the values from keyboard*/ ...
Program to display message

Program to display a message

  #include<stdio.h> #include<conio.h> void main() {    clrscr();          /*for clearing the output screen*/    printf(“hello world”);      /*for printing the message which is given*/ getch(); } Output: ...
what is c

What is c language

C is a structured programming language developed by Dennis M. Richie, at BEL laboratories in 1972. It is a middle level language and more...

Stay connected

17,103FansLike
1,734FollowersFollow
13,900SubscribersSubscribe
- Advertisement -

Latest article

program to find volume of sphere

Program to find volume of sphere

#include<stdio.h> #include<conio.h> #include<math.h> #define pi 3.142 void main() {   float r,v;                   /* r for radius and v for volume*/   clrscr();   printf(“enter radius of spheren);   scanf(“%f”,&r);       ...
c program to area of rectangle

Program to find the area of rectangle

  #include<stdio.h> #include<conio.h> void main() { float a,b,area;     /* a, b for 2 sides and area for result */ clrscr(); printf("enter two sides of rectangle...
Program to find the average of three numbers

Program to find the average of three numbers

#include<stdio.h> #include<conio.h> void main() {    Int a,b,c;    float avg;     /*variable for storing the result, which may be float */    clrscr();          /*for clearing the output...