Example 1:
#include <iostream.h>
#include <conio.h>
main()
{
//initial
int array[2][3] = {/*element in row 1*/ {10, 20, 30},/*element in row 2*/{11, 21, 31 }
};
int row,col;
clrscr();
for (row=0;row<2;row++)
{
for (col=0;col<3;col++)
{
cout <<
}
cout <<"\n\n";
}
getch();
}
Search
Categories
- Part I : Perkenalan (4)
- Part II : Operator (3)
- Part III : Percabangan (materi) (2)
- Part III : Percabangan (program) (4)
- Part IV : Perulangan (meteri) (3)
- Part IV : Perulangan (program) (3)
- Part V : Array (materi) (1)
- Part V : Array (program) (2)
- Penerapan (6)
- Pointer (2)
- Searching (pencarian) (3)
- Typedef (1)
Free Download movie Ijin ambil program gan... buat tugas.. mksh y?
ReplyDelete