Latihan CPP 3.5

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> using namespace std; #include <stdio.h> int main() { // nama : la ode ian // nim : 3420210002 //prodi : Teknik informatika int jari; float luas, keliling; printf("Input jari-jari lingkaran : "); scanf("%i", &jari); luas = 3.14 * jari * jari; keliling = 2 * 3.14 * jari; printf("\nLUAS dan KELLING LINGKARAN"); printf("\nJari-jari \t= %i", jari); printf("\nLUAS \t\t= %.3f", luas); printf("\nKELLING \t= %.2f", keliling); return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines