read more...
post by sanjay Vishwakarma
Wednesday, September 8, 2010
How to write Addition of Any two number programing in C ?
#include
#include
main()
{
int
a,b,c;
clrscr
();
printf
(
"\n\n\t\t\t\t* ADDITION *"
);
printf
(
"\n\n\n\tEnter any number :\t"
);
scanf
(
"%d"
,&
a
);
printf
(
"\n\tEnter any number :\t"
);
scanf
(
"%d"
,&
b
);
c
=
a
+
b
;
printf
(
"\n\t Addition \t :\t%d"
,
c
);
getch
();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment