22
1
using System;
2
3
namespace IDCsharp
4
{
5
public class Program
6
{
7
public static void Main(string[] args)
8
{
9
int[ ] a = new int[10];
10
for (int k = 0; k < 10; k++) {
11
Console.WriteLine("Masukan Array ke - "+k);
12
a[k] = Convert.ToInt32(Console.ReadLine());
13
}
14
15
for (int k = 0; k < 10; k++) {
16
Console.Write("\n");
17
Console.WriteLine("Isi Array ke - "+k);
18
Console.WriteLine(a[k]);
19
}
20
}
21
}
22
}
Cached Result
Level 0 : Total amount :10000
Level 1 : Total amount :10000
Level 1 : Total amount :10000