0% found this document useful (0 votes)
36 views3 pages

Flowcart Bab 5

The document describes 5 programming experiments. The first experiment initializes integer variables a[1] and a[2] to 10 and 15 respectively, then sets a[3] to the sum of a[1] and a[2], outputting the final values. The second experiment prompts the user to input 10 integers and outputs the indexed values from 1 to 10. The third experiment initializes indices i and j in a loop to populate an input 3x3 matrix, then outputs the matrix values.

Uploaded by

Sapna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views3 pages

Flowcart Bab 5

The document describes 5 programming experiments. The first experiment initializes integer variables a[1] and a[2] to 10 and 15 respectively, then sets a[3] to the sum of a[1] and a[2], outputting the final values. The second experiment prompts the user to input 10 integers and outputs the indexed values from 1 to 10. The third experiment initializes indices i and j in a loop to populate an input 3x3 matrix, then outputs the matrix values.

Uploaded by

Sapna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Percobaan

1.) 2.)

Start Start

Input:
Input:
a [1] = 10
Masukkan sepuluh
a [2] = 15
bilangan integer

a[3]:=a[1]+a[2]
indeks := 1 to 10

Output:
a [1] = 10
Output:
a [2] = 15
Bilangan indeks
a [3] = 25
1 to 10

End

End
3.) 4.)

Start

Input:
Masukkan angka

I :=1 to m
J :=1 to n

Output:
Isi matriks
3*3

End
5.)

You might also like