C Programming - Program Mencari Volume Kerucut


#include <stdio.h>
#define PI 22/7

int main()
{
  printf("Menghitung Volume Kerucut\n\n");
  double jarijari, tinggi, volume;
  printf("Masukkan nilai jari-jari : ");
  scanf("%lf", &amp;jarijari);
  printf("Masukkan nilai tinggi : ");
  scanf("%lf", &amp;tinggi);

  volume = (PI * jarijari * jarijari * tinggi) / 3.0;

  printf("\nVolume kerucut adalah %.2lf satuan volume\n", volume);

  return 0;
}

Contas Premium
Compartilhe este filme: :

Post a Comment

Related Posts Plugin for WordPress, Blogger...
 
Support : Baixartemplatesnovos.blogspot.com
Copyright © 2012-2014. BATERCUS'S BLOG - todos os direitos reservados para

CINEHD- o melhor site de filmes online