Professional Documents
Culture Documents
Group 6 Flowchart
Group 6 Flowchart
read "answer"
Label
"Invalid Option"
Start
Task 1
enter positive
"number" Find the even multiples of any number – the user should specify the
multiples of which number they want to print and how many of them (for
example if the user choses the number 7 and would like to print four even
multiples, the program should print 14, 28, 42, 56 )
enter the number of
multiples to display "multiples"
counter=1
even=2
WHILE
counter<=multiples
product=number*even counter=counter+1
even=even+2
IF
End of While/IF
End
TASK 2 Start
Set sum = 0
Input new No
End
sequence?
counter = 1
Output sum No
counter <= n
yes
Output product
For/While
product<=maxv
product=(numone*numtwo)
IF
print $product
sum=(sum+product)
product<=maxv Then
numone=numone+1
numtwo=numtwo+1
print $sum
End