free c programming course
Friday, 29 May 2009
function which is returning double data type
#include
double math();void main(){ float num; num=math(); clrscr(); printf("%.lf",num); getch();}double math(){ double d=2.1; d=ceil(d); return d;}Output: 3
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment