Code
#include<stdio.h>#include<math.h>//sqrt() ,pow() ,ceil() ,round(),sin(), cos(), tan(), abs()int main(){printf("sqrt %.2f\n", sqrt(64));printf("pow %.2f\n", pow(4,2));printf("ceil %f\n", ceil(5.32));printf("round %f\n", ceil(5.32));printf("sin %f\n", sin(90));printf("cos %f\n", cos(90));printf("tan %f\n", tan(90));printf("abs %d\n", abs(-4));}
Output
0 Comments
Post a Comment