Use of function in mathematics
// use of function #include <stdio.h> #include <math.h> int main () { printf ( "%g sqrt of= 9\n" , sqrt ( 9 )); printf ( "%g =log of 9\n" , log ( 9 )); printf ( "%g =8.8 after ceil \n" , ceil ( 8.8 )); printf ( "8 to the power 2= %g\n" , pow ( 8 , 2 )); }
Comments
Post a Comment