kali ini masbrorezky akan memposting contoh program belah ketupat yg saya pelajari dikampus dan coding ini saya compile melalui devC++...
#include<cstdlib>
#include<iostream>
using namespace std;
int i;
int main(){
cout<<"___PROGRAM BELAH KETUPAT COY___"<<endl;
cout<<"Nama
:Rezki Suryana"<<endl;
cout<<"created by REZKYHCK"<<endl;
for(i=1; i<=8; i++)
{
cout<<"=";
}
cout<<endl;
for(i=1; i<=2; i++)
{
cout<<"===
";
}
cout<<endl;
for(i=1; i<=2; i++)
{
cout<<"==
";
}
cout<<endl;
for(i=1; i<=2; i++)
{
cout<<"=
";
}
cout<<endl;
for(i=1; i<=2; i++)
{
cout<<"==
";
}
cout<<endl;
for(i=1; i<=2; i++)
{
cout<<"===
";
}
cout<<endl;
for(i=1; i<=8; i++)
{
cout<<"=";
}
cout<<endl;
system("pause");
return 0;
}
SEMOGA BERMANFAAT http://masbronotes.blogspot.com
No comments:
Post a Comment