Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  aa
Language: C/C++
Code:
#include <iostream.h>
#include <conio.h>
#include <stdio.h>

void main () {
  char a='*';
  int f,i,c;

  cout<<"masukan nilai tinggi:";
  cin>>f;
  for(i=1; i<=f; i++){
  cout<<a;
  if(i==1)
  for(c=1; c<=3; c++)
  cout<<a;
  if(i==3)
  for(c=1; c<=3; c++)
  cout<<a;
  cout<<endl;
  }
getch ();
}
          
Comments: