Front Page

02 February 2013

Cara Menampilkan Huruf A-Z Dengan C++ Dalam informatika



#include <iostream.h> 
#include <conio.h> 
void main() 
  char abjad; 


  clrscr(); 
  cout<<"==================================="<<endl; 
  cout<<"    Program sederhana menampilkan huruf abjad "<<endl; 
cout<<"           Mengunakan pengulangan FOR           “<<endl; 
  cout<<"----------------------------------------------------------"<<endl; 
  { 
  for (abjad='A'; abjad<='Z'; abjad++) 
  cout<<abjad<<" "; 
  cout<<endl; 
  } 
  cout<<"=================================="<<endl; 
  cout<<"    Program dibuat oleh AF 1 NG , 28/11/ 2004  "<<endl; 
     cout<<"______________________________________"<<endl; 
}


3 comments:

Please double post in this blog is up to you

SILAHKAN COPY PASTE SEPUAS MU