Created
October 17, 2021 03:20
-
-
Save richardwei6/0f8e000685b155fe40e766876744be11 to your computer and use it in GitHub Desktop.
Coding Club C Workshop 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <math.h> | |
int main(){ | |
printf("\n%f", ceil(3.6)); | |
printf("\n%f", ceil(3.3)); | |
printf("\n%f", floor(3.6)); | |
printf("\n%f", floor(3.2)); | |
printf("\n%f", sqrt(16)); | |
printf("\n%f", sqrt(7)); | |
printf("\n%f", pow(2,4)); | |
printf("\n%f", pow(3,3)); | |
printf("\n%d", abs(-12)); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment