Matrix of Strings

Discussion in 'C' started by Dime3, Dec 3, 2011.

  1. Dime3

    Dime3 New Member

    Dec 3, 2011
    Likes Received:
    Trophy Points:
    Write a program for handling and using time table for a student.
    a. Define a matrix of strings “table[hour][day]†that its elements are strings representing the subjects` lectures given on that dayand hour. Initialize the table by a function.
    b. Define void function that updates the table with the appropriate subject lectures.
    c. Define void function that returns the subject given in a specified date in the table .
    d. Define void function that returns the “free hours†of the student in a week. That is the hours when no lectures in theweek timetable .
    e. Write a program: Input data from keyboard and print the time table. Next print in a list all the “free hours†in a week.
    Comment: Use C Library functions: strcpy and strcmp.

    Please, If someone can help me...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice