Pages: 1
Topic closed
I am new to programming and I want to try and implement this pseudocode code in scratch
1. Intialize sum <- 0
2. do
3. num <- Take Value from user
4. if num = 0
5. goto 8
6. else
7. sum <- sum + num
8. Print "The Sum is : " + sum
9. while(num !=0)
Offline
set [sum] to [0] ask [What number?] and wait if <(answer) = [0]> ??? else change [sum] by (num) say (join [The Sum is : ](sum))
Does that help at all?
Offline
does this, help i think it's what you want
http://scratch.mit.edu/projects/TRocket/2019574
download to see the scripts
doesn't say the number online
Offline
I've seen this three times now and if this is related to other posts this is an assignment. Maybe you want to mention that so people don't just give you the code. What it sounds like you want are pointers rather than a direct answer (assuming this is for school).
Offline
Topic closed
Pages: 1