The Student Room Group

National 5 computing coursework/assignemt

Scroll to see replies

Reply 20

Original post
by Paper:3
Yeah I did the same thing with the If when I tried it first but I didn't know how to forcefully stop the loop (the break command) so I changed it to a while loop ๐Ÿ˜ญ

Oh right I see also did you use append to add things into the array cause I just can't get that to work. And before my while loop starts I've asked a question like do you want to start. Do you think that's fine because it doesn't work without the question ๐Ÿฅฒ

Reply 21

Original post
by ra099
Oh right I see also did you use append to add things into the array cause I just can't get that to work. And before my while loop starts I've asked a question like do you want to start. Do you think that's fine because it doesn't work without the question ๐Ÿฅฒ


Yeah I used append to add the fruits.

y.append (ร—)

y= array name to add to
x= inputed fruit


Did you initialise the decision variable at the top? Maybe it can work without the question then.

Reply 22

Original post
by Paper:3
Yeah I used append to add the fruits.
y.append (ร—)
y= array name to add to
x= inputed fruit
Did you initialise the decision variable at the top? Maybe it can work without the question then.
Omg yes I forgot to do that tysm xx

Reply 23

Do you have any idea what to write for robustness? I got stuck on that so i moved on to the web. ๐Ÿ˜ญ

Reply 24

Original post
by Paper:3
Do you have any idea what to write for robustness? I got stuck on that so i moved on to the web. ๐Ÿ˜ญ

I'd say that as you have input validation the program is robust as it won't accept invalid inputs.

Reply 25

Original post
by na099
I'd say that as you have input validation the program is robust as it won't accept invalid inputs.


Ohh ok thank youu <3

That's if my code works properly. I need to fix it up ๐Ÿ˜ญ

Reply 26

Original post
by Paper:3
Ohh ok thank youu <3
That's if my code works properly. I need to fix it up ๐Ÿ˜ญ

Literallyy the design feels so stupid to me why not just ask the user how many fruits they want to enter??

Reply 27

Original post
by na099
Literallyy the design feels so stupid to me why not just ask the user how many fruits they want to enter??


ikrr that would've been so much simpler ๐Ÿ˜ญ

Reply 28

At least the Web part isn't too hard.

Reply 29

Original post
by Paper:3
At least the Web part isn't too hard.

I'm doing databases sadly ๐Ÿ˜•

Reply 30

Original post
by na099
I'm doing databases sadly ๐Ÿ˜•


ooo how is it?

Reply 31

Original post
by Paper:3
ooo how is it?

It easier than the programming which I'm glad about

Quick Reply

How The Student Room is moderated

To keep The Student Room safe for everyone, we moderate posts that are added to the site.