Skip to content

Instantly share code, notes, and snippets.

@paley777
Created June 18, 2022 08:17
Show Gist options
  • Save paley777/71e1d0c9e48a5b21b758140a19b9a7ad to your computer and use it in GitHub Desktop.
Save paley777/71e1d0c9e48a5b21b758140a19b9a7ad to your computer and use it in GitHub Desktop.
Area of Circle C++
#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