> For the complete documentation index, see [llms.txt](https://www.csprinciples.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.csprinciples.com/25-26/session-15.md).

# Session 15

## Source Code

```lua
print("Session 15")

-- initialize done to false
local done = false

-- sentinel controlled while loop
while not done do
    -- Menu Options
    print("Menu")
    print("E1 - Example 1")
    print("Q - Quit")
    io.write("Choice: ")
    local choice = io.read()

    if choice == "E1" then
        print("Example 1")
        -- add code here


    elseif choice == "E2" then
        print("Example 2")
        -- add code here


    elseif choice == "E3" then
        print("Example 3")
        -- add code here


    elseif choice == "E4" then
        print("Example 4")
        -- add code here

                
    elseif choice == "E5" then
        print("Example 5")
        -- add code here
        

    elseif choice == "E6" then
        print("Example 6")
        -- add code here
        
 
    elseif choice == "E7" then
        print("Example 7")
        -- add code here
        
 
    elseif choice == "E8" then
        print("Example 8")
        -- add code here
        
        
    elseif choice == "E9" then
        print("Example 9")
        -- add code here
        
    elseif choice == "E10" then
        print("Example 10")
        -- add code here
        

    -- Q condition
    elseif choice == "Q" then
        print("Quit!")
        done = true
    -- else condition
    else
        print("Invalid choice")
    end
end

```

## s15problem1.lua

```
print("Problem 1")
```

## s15problem2.lua

```
print("Problem 2")
```

## s15problem3.lua

```
print("Problem 3")
```

## s15problem4.lua

```
print("Problem 4")
```

## s15problem5.lua

```
print("Problem 5")
```

## s15problem6.lua

```
print("Problem 6")
```

## s15problem7.lua

```
print("Problem 7")
```

## s15problem8.lua

```
print("Problem 8")
```

## s15problem9.lua

```
print("Problem 9")
```

## s15problem10.lua

```
print("Problem 10")
```

## s15problem11.lua

```
print("Problem 11")
```

## s15problem12.lua

```
print("Problem 12")
```

## Project 3

```lua
local first_name = ""
local last_name = ""
print("Project 3")
print("Name :" .. first_name + " " .. last_name)

-- Restaurant Information

-- Appetizers

-- Entrees

-- Desserts

-- Beverages

-- Place Order
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.csprinciples.com/25-26/session-15.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
