You are on page 1of 1

#include <stdio.h> #include <conio.h> main() { float r,luas_alas,t,volume; printf("Masukan Jari-jari : ");scanf("%f",&r,"\n"); { luas_alas=3.

14*r*r; } printf("Masukan Tinggi Tabung : ");scanf("%f",&t,"\n"); { volume=luas_alas*t; } printf("Volume Tabung : %f",volume); getch(); }

You might also like