You are on page 1of 4

Start

PUT "Welcome to DJ Manager application, this program


is designed to calculate the length of the playlist from the
average lenght and the number of songs in the playlist."¶

PUT "please select one of


the following options: "¶

PUT "1. Create new


PlayList."¶

PUT "0. Exit." ¶

"Make your selection..."


GET opt

Loop

Yes
opt = 0

No

Yes opt > 1 or opt < No


0

"Please insert the name of


PUT "Option no valid!!!"¶ the playlist: "
GET playlistName

"Please insert the average


length of the playlist: "
GET averagelength

"Please insert the number of


Songs in this playlist: "
GET numsongs

totalLength ←
averagelength * numsongs

PUT "The total length of the


playlist is: "¶

"Woul you like to storage


the information above?
(Y/N): "
GET opt1

flowchartWeek4.rap-main : page 1,1 : titan : 30.30 mins, 9 saves


flowchartWeek4.rap-main : page 2,1 : titan : 30.31 mins, 9 saves
Yes opt1 = "y" or opt1 = No
"Y"

PUT "Information has been PUT "Nothing has been


saved successfully!"¶ saved!!"¶

PUT "please select one of


the following options: "¶

PUT "1. Create new


PlayList."¶

PUT "0. Exit." ¶

"Make your selection..."


GET opt

End

flowchartWeek4.rap-main : page 1,2 : titan : 30.31 mins, 9 saves


PUT "Nothing has been
saved!!"¶

flowchartWeek4.rap-main : page 2,2 : titan : 30.31 mins, 9 saves

You might also like