Created
October 26, 2023 12:58
-
-
Save Hackathonwave/0c3bf4c17913fd767b0fc35db9737ddf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
void main() { | |
double calculateCircleArea (double radius) { | |
double area = 3.14 * radius * radius; | |
return area; | |
} | |
double radius = 5; | |
double area = calculateCircleArea(radius); | |
print(area); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment