Week 16

Source Code

local myName = ""
print("Name: " .. myName)

-- initialize variables


-- sentinel controlled while loop
    
    -- Menu
    
    
    -- write choice
    
    
    -- read choice
    
    
    -- condition for E1
    
    
    -- condition for E2
    
    
    -- condition for E3
    
    
    -- condition for E4
    
    
    -- condition for E5
    
    
    -- condition for Q
    
    
    -- else the user did not enter a valid choice


-- end while loop


Last updated