0% found this document useful (0 votes)
602 views2 pages

Programming Logic for Students

This document contains information about a student named Rizky Saputra from class 1.1 with student ID 20105111024. It also contains pseudocode for a program that uses arrays and loops to calculate values and store them in the array X based on previous values in the array. The program declares some integer variables, initializes an 2D array X of long integers from 1 to 100, and has nested for loops to iterate through the array, setting initial values and calculating subsequent values to store in each element X[i,j].

Uploaded by

sabar ruddin
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)
602 views2 pages

Programming Logic for Students

This document contains information about a student named Rizky Saputra from class 1.1 with student ID 20105111024. It also contains pseudocode for a program that uses arrays and loops to calculate values and store them in the array X based on previous values in the array. The program declares some integer variables, initializes an 2D array X of long integers from 1 to 100, and has nested for loops to iterate through the array, setting initial values and calculating subsequent values to store in each element X[i,j].

Uploaded by

sabar ruddin
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

NAMA : Rizky Saputra

NPM : 20105111024
KELAS : 1.1

selesai

I,j,n,k:integer
X array [1..100,1..100] of longint

For i:=1 to n do selesai

For k:=0 to n-i do

For j:=1 to j do
spasi

J:=1 or j =n+1 X[i,j]:=1

X[i,j]:=x[i-1,j-1]+x[i-2,i]

X[i,j] Pindah
bariss

You might also like