Skip to content
Permalink
b94f0938fe
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
10 lines (10 sloc) 265 Bytes
#include <iostream>
#include <string>
//creating the name string
using namespace std;
//inherting the class and sub class as timetable
class student : timetable
{
string name[7]={"Jack","Adam","Lucy","Susan","Tom","Peter","Bella"};
int class[7]={1,2,2,1,2,1,1};
}