2010-11-19

program matrik C++[sederhana]

//nama:rendi pratama
//nim;101511025
//POLBAN [polteknik negri bandung]
#include<stdio.h>
#include<conio.h>
#include<iostream.h>
int main()
{
    int bil,i,j;
    i=1;
    while(i<=3)
    {
     bil=10;        
     j=1;
    while(j<=4)
     {
     cout<<bil;
    j=j+1;
    bil=bil+5;
    cout<<"\t";
}
cout<<"\n";
i=i+1;
}
getch();
}  


0 komentar:

Posting Komentar

Diberdayakan oleh Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger