hi im trying the following pseudocode:
do i need a for loop for it?Code:Algorithm image CHARACTER cla output 'Welcome to my program' input argv[count] if argv = -i output 'You have decided to invert the image' ..CALL FUNCTION.. elseif argv = -h output 'You have decided to scroll the image' ..CALL FUNCTION.. else output 'ERROR: Incorrect argument' return 0 endif end algorithm
Now for argv does it seem right? like will it perform what iv asked?