Jawabanmu

2014-06-05T19:55:19+07:00
* *
* *
* *
* * *
* *
* *
*
#include<stdio.h>
main()
{
   int x,y;
   for(x=1;x<=3;x=x+1) printf("** \n");
   printf("***\n");
   for(x=1;x<=2;x=x+1) 
printf("** \n");
   
printf("*\n");
}

2014-06-05T21:41:40+07:00
#include <iostream>
using namespace std;
int main () {
for (int x = 0; x <8; x++) {
if (x == 4){ cout <<"***"<<endl;}
else if (x ==7) {cout <<"*"<<endl;}
else {cout<<"**"<<endl;}
}
return 0;}