Created
June 18, 2022 08:17
-
-
Save paley777/71e1d0c9e48a5b21b758140a19b9a7ad to your computer and use it in GitHub Desktop.
Area of Circle C++
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 <iostream> | |
using namespace std; | |
int main() { | |
float phi = 3.14; | |
float r = 7; | |
float L = phi * r * r; | |
cout << "Luasnya lingkaran dengan jari-jari " << r << " adalah " << L ; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment