Algorithms
Last updated
Last updated
BEGIN main()
choice = 0
WHILE choice is not 5
INPUT choice
IF choice is 1 THEN
AddRock
IF API Request Valid THEN
SearchRock
ELSE
DISPLAY 'Error'
ENDIF
ELSEIF choice is 2 THEN
ViewCollection
ELSEIF choice is 3 THEN
CompareRocks
ELIF choice is 4 THEN
RemoveRock
ELSE
DISPLAY 'Problem between chair and keyboard'
ENDIF
ENDWHILE
END main()