ar_one_to. Diberdayakan oleh Blogger.
RSS

PROGRAM C++


C++         
download   
C + + is a very popular language in the world of software development. Both these languages ​​are classified into intermediate-level language (the middle level language). The other hand, the academic side, a man named Niklus Wirth at the University of Zurich, Switzerland to develop high-level language (high level language) called the Pascal language to teach the algorithm to his students. Thus the Pascal language academic environment is more popular than C + + language. We certainly know that programming language C + + is a language that is more difficult to understand than the java language. Since the developed C + + language is widely used to develop application programs in the field of telecommunications, financial or business and the operating system. Even to this day, making programs for computer games (games), most still use the language C + +.

Pay attention and understand a simple example of C + + program that has successfully I created below:




#include <iostream.h>
int main(){
int x, a, b, h1;
 cout<<"masukkan nilai n:";
 cin>>x;
 a = 0;
 b = 1;

cout << "\n";
 cout<<"deret fibonanci dengan n:"<< x << "\n\n";
 cout << a << " " << b << " ";
 for (int count = 1; count < (x-1); count++)
 {
   h1 = a + b;
   a = b;
   b = h1;

   cout << b << " ";
 }












     








            This is one very simple program I have created with C + + programming language, a program to create a series Fibonanci. As explained above that it is C + + programming language that can make a variety of other programs. An age that has been developed and developing, we as progrmer prefix should be more able memehami this programming language to create a program that can be made ​​with the programming language.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS