SlideShare a Scribd company logo
#include <iostream>
#include <stdlib.h>
usingnamespace std;
intmain()
{
floatphi=3.14,r,t,v,L;
cout<<"========================================"<<endl;
cout<<"MENGHITUNG VOLUME TABUNG DAN LUAS TABUNG"<<endl;
cout<<"========================================"<<endl;
cout<<endl;
cout<<endl;
cout<<"masukkanjari-jari :";
cin>>r ;
cout<<"masukkantinggi :";
cin>>t ;
cout<<endl;
v=phi*r*r*t ;
L=2*phi*r*t ;
system("cls");
cout<<"========================================"<<endl;
cout<<"MENGHITUNG VOLUME TABUNG DAN LUAS TABUNG"<<endl;
cout<<"========================================"<<endl<<endl;
cout<<"========";
cout<<endl<<"Hasilnya"<<endl;
cout<<"========"<<endl<<endl;
cout<<"volume tabung:"<<v <<endl;
cout<<"luastabung : " <<L<<endl;
return0;
}

More Related Content

What's hot (20)

PPTX
งานนำเสนอ อาจารย์ลาวัลย์
น้ำตาล มาแล้วจ้า
 
DOCX
Program Kasir c++(case ROti88)
Achmad Sidik
 
PDF
C++ programs
Mukund Gandrakota
 
PDF
Introduction to Go for Java Programmers
Kalpa Pathum Welivitigoda
 
PDF
Rcpp11 genentech
Romain Francois
 
DOCX
Pratik Bakane C++
pratikbakane
 
TXT
Problemas de Arreglos en c++
Manfred Ariel Martinez Bastos
 
DOCX
Assignement of programming & problem solving
Syed Umair
 
DOCX
Applications of list
Elavarasi K
 
DOCX
Pratik Bakane C++
pratikbakane
 
DOCX
Pratik Bakane C++
pratikbakane
 
PDF
Coding with Vim
Enzo Wang
 
DOCX
Pratik Bakane C++
pratikbakane
 
DOCX
Pratik Bakane C++
pratikbakane
 
PPT
为什么 rust-lang 吸引我?
勇浩 赖
 
PDF
Oopsprc1c
Ankit Dubey
 
PDF
Combine vs RxSwift
shark-sea
 
TXT
Penjualan swalayan
Setiyo Agus Widjaja
 
PPT
Oop1
Vaibhav Bajaj
 
งานนำเสนอ อาจารย์ลาวัลย์
น้ำตาล มาแล้วจ้า
 
Program Kasir c++(case ROti88)
Achmad Sidik
 
C++ programs
Mukund Gandrakota
 
Introduction to Go for Java Programmers
Kalpa Pathum Welivitigoda
 
Rcpp11 genentech
Romain Francois
 
Pratik Bakane C++
pratikbakane
 
Problemas de Arreglos en c++
Manfred Ariel Martinez Bastos
 
Assignement of programming & problem solving
Syed Umair
 
Applications of list
Elavarasi K
 
Pratik Bakane C++
pratikbakane
 
Pratik Bakane C++
pratikbakane
 
Coding with Vim
Enzo Wang
 
Pratik Bakane C++
pratikbakane
 
Pratik Bakane C++
pratikbakane
 
为什么 rust-lang 吸引我?
勇浩 赖
 
Oopsprc1c
Ankit Dubey
 
Combine vs RxSwift
shark-sea
 
Penjualan swalayan
Setiyo Agus Widjaja
 

More from Reynes E. Tekay (13)

PPTX
Gaya Magnet
Reynes E. Tekay
 
PPTX
Hukum Ampere Untuk Rangkaian Listrik
Reynes E. Tekay
 
PPTX
Medan Magnet Konstan
Reynes E. Tekay
 
PPTX
Arus dan Konduktor
Reynes E. Tekay
 
PPTX
Potensial listrik dan kapasitor
Reynes E. Tekay
 
DOCX
Metode Secant
Reynes E. Tekay
 
DOCX
Makalah Mata Kuliah Pendidikan Agama Kristen Protestan
Reynes E. Tekay
 
DOCX
Gejala Gelombang
Reynes E. Tekay
 
DOC
Energi pasang surut
Reynes E. Tekay
 
DOCX
program C++ Atm
Reynes E. Tekay
 
DOCX
Penjelasan Program
Reynes E. Tekay
 
PPTX
Upaya Pemberantasan Korupsi
Reynes E. Tekay
 
PPTX
Tanggung Jawab
Reynes E. Tekay
 
Gaya Magnet
Reynes E. Tekay
 
Hukum Ampere Untuk Rangkaian Listrik
Reynes E. Tekay
 
Medan Magnet Konstan
Reynes E. Tekay
 
Arus dan Konduktor
Reynes E. Tekay
 
Potensial listrik dan kapasitor
Reynes E. Tekay
 
Metode Secant
Reynes E. Tekay
 
Makalah Mata Kuliah Pendidikan Agama Kristen Protestan
Reynes E. Tekay
 
Gejala Gelombang
Reynes E. Tekay
 
Energi pasang surut
Reynes E. Tekay
 
program C++ Atm
Reynes E. Tekay
 
Penjelasan Program
Reynes E. Tekay
 
Upaya Pemberantasan Korupsi
Reynes E. Tekay
 
Tanggung Jawab
Reynes E. Tekay
 
Ad

Recently uploaded (20)

DOCX
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PPTX
Day2 B2 Best.pptx
helenjenefa1
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PPTX
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
CS-802 (A) BDH Lab manual IPS Academy Indore
thegodhimself05
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Day2 B2 Best.pptx
helenjenefa1
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
GTU Civil Engineering All Semester Syllabus.pdf
Vimal Bhojani
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
Ad

Tugas Program C++

  • 1. #include <iostream> #include <stdlib.h> usingnamespace std; intmain() { floatphi=3.14,r,t,v,L; cout<<"========================================"<<endl; cout<<"MENGHITUNG VOLUME TABUNG DAN LUAS TABUNG"<<endl; cout<<"========================================"<<endl; cout<<endl; cout<<endl; cout<<"masukkanjari-jari :"; cin>>r ; cout<<"masukkantinggi :"; cin>>t ; cout<<endl; v=phi*r*r*t ; L=2*phi*r*t ; system("cls"); cout<<"========================================"<<endl; cout<<"MENGHITUNG VOLUME TABUNG DAN LUAS TABUNG"<<endl; cout<<"========================================"<<endl<<endl; cout<<"========"; cout<<endl<<"Hasilnya"<<endl; cout<<"========"<<endl<<endl;