Created
June 11, 2014 08:37
-
-
Save greengoblinmask/1ea0dce24264d5562ffd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "stdafx.h" | |
| #include <conio.h> | |
| #include <iostream> | |
| #include <stdio.h> | |
| using namespace std; | |
| void main(){ | |
| float sisi, keliling; | |
| cout<<"Input sisi segitiga:"; | |
| cin>>sisi; | |
| cout<<"Keliling Segitiga:"; | |
| keliling = sisi+sisi+sisi; | |
| cout<<"Kel= "<<sisi<<"+"<<sisi<<"+"<<sisi<<endl; | |
| cout<<"Kel= "<<keliling; | |
| getch(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment