read more...
post by sanjay Vishwakarma
Wednesday, September 8, 2010
how to write a program for Division of any two number in C-programing ?
#include
#include
main()
{
int
a,b,c;
clrscr
();
printf
(
"\n\n\t\t\t\t* DIVISION *"
);
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 Division \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