Program array
#include<constream.h>
void main()
{
clrscr();
int nilai[5];
for (int x=0;x<=4;x++)
{
cin>>nilai[x];
}
for (x=4;x>=0;x--)
{
cout<<nilai[x]<<endl;
}
getch();
}

ko programnya ga berjalan ya ?
BalasHapusmaklum aja tu program hasil kopas...
Hapusyang punya blog aja tah ngerti tah tidak
hahahahah