Data hosted with ♥ by
Pastebin.com
-
Download Raw
-
See Original
#include<iostream>
#include<conio.h>
using
namespace
std
;
void
main
(
)
{
int
nilai
[
5
]
;
for
(
int
a
=
0
;
a
<
5
;
a
++
)
{
cout
<<
"masukkan data nilai UAS["
<<
a
<<
"] = "
;
cin
>>
nilai
[
a
]
;
}
for
(
int
b
=
0
;
b
<
5
;
b
++
)
{
cout
<<
"data nilai UAS["
<<
b
<<
"]= "
<<
nilai
[
b
]
<<
endl
;
}
getchar
(
)
;
system
(
"pause"
)
;
}