reka urutonde_rwi_imibare = []
reka umubare_wimibare = injiza_amakuru("Uratanga imibare ingahe? ")
reka i = 1
reka j = 0
subiramo_niba(i <= umubare_wimibare) {
reka umubare = injiza_amakuru("Shyiramo umubare wa ", i, ": ")
KIN_URUTONDE.ongera_kumusozo(urutonde_rwi_imibare, umubare)
i = i + 1
}
Observed this line? injiza_amakuru("Shyiramo umubare wa ", i, ": ")
Yes this will prompt user to enter a number and showing corresponding index we're at.
Now this will work,
Observed this line?
injiza_amakuru("Shyiramo umubare wa ", i, ": ")
Yes this will prompt user to enter a number and showing corresponding index we're at.