Open TC.exe
Click on File and then Click on New.
then type.
#include<stdio.h>
#include<conio.h>
void main ()
{
int a,b,c,d ;
clrscr ();
clrscr ();
printf("Enter any three number");
scanf("%d%d%d%d",&b,&c,&d);
a=b+c+d
printf("Total sum = %d",a);
getch();
No comments:
Post a Comment