setelah ngubek2 file di komputer akhirnya nemu ini source code. Silahkan di nikmati dan di pelajari :)
screen shoott
screen shoott
#include<iostream.h>
#include<conio.h>
main()
{
int v,a,b,c;
cout<<"Masukkan baris :";
cin>>v;
cout<<endl;
cout<<"Masukkan kolom :";
cin>>c;
for(a=1;a<=c;a++)
{
for(b=1;b<=c;b++)
{
cout<<"*";
}
cout<<endl;
}
for(a=1;a<=v;a++)
{
for(b=1;b<=a;b++)
{
cout<<"*";
}
cout<<endl;
}
for (a=v;a>=0;a--)
{
for(b=a;b>=0;b--)
{
cout<<"*";
}
cout<<endl;
}
for(a=1;a<=c;a++)
{
for(b=1;b<=c;b++)
{
cout<<"*";
}
cout<<endl;
}
getch();
}
#include<conio.h>
main()
{
int v,a,b,c;
cout<<"Masukkan baris :";
cin>>v;
cout<<endl;
cout<<"Masukkan kolom :";
cin>>c;
for(a=1;a<=c;a++)
{
for(b=1;b<=c;b++)
{
cout<<"*";
}
cout<<endl;
}
for(a=1;a<=v;a++)
{
for(b=1;b<=a;b++)
{
cout<<"*";
}
cout<<endl;
}
for (a=v;a>=0;a--)
{
for(b=a;b>=0;b--)
{
cout<<"*";
}
cout<<endl;
}
for(a=1;a<=c;a++)
{
for(b=1;b<=c;b++)
{
cout<<"*";
}
cout<<endl;
}
getch();
}
Update Contact :
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email : Fajarudinsidik@gmail.com
No Wa/Telepon (puat) : 085267792168
No Wa/Telepon (fajar) : 085369237896
Email: Fajarudinsidik@gmail.com
atau Kirimkan Private messanger melalui email dengan klik tombol order dibawah ini :