C Code to accept two numbers and print their sum By Unknown May 19, 2013 #include<stdio.h> #include<conio.h> int a, b, sum; void main(){ clrscr(); printf("Enter two numbers:- \n"); scanf("%d%d",&a,&b); sum=a+b; printf("Sum: %d",sum); getch(); } Read more
C Code to print 'Welcome' message By Unknown May 10, 2013 #include<stdio.h> #include<conio.h> void main(){ clrscr(); printf("Hello!\nWelcome to C Language!"); getch(); } Read more