session10.c

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

// Example 1 Function Definition


// Example 2 Function Definition


/*** Beginnning of Linked List Code *****/


/*** End of Linked List Code *****/


/*** Beginnning of Doubly Linked List Code *****/


/*** End of Doubly Linked List Code *****/

// Main Function
int main()
{
    printf("Session 8\n");
    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;
        }
    }
    while (choice != -1);
}

Last updated