session9p.c

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>

// Problem 1 Function Definition


// Main Function
int main()
{
    printf("Session 9 Problems");
    int choice;
    do
    {
        // Menu
        printf("Menu\n");
        printf("1 - Example 1\n");
        printf("2 - Example 2\n");
        printf("-1 - Quit\n");
        // get choice from user
        printf("Choice: ");
        scanf("%d", &choice);
        // switch choices
        switch (choice)
        {
            case 1:
                
                break;
            case 2:
                
                break;
            case 3:
                
                break;
            case 4:
                
                break;
            case 5:
                
                break;
         
        }
    }
    while (choice != -1);
}

Last updated