Computer Science, asked by soumikparamanik2006, 7 months ago

Write a program by using a class 'Picnic' without any data members but having
only functions as per the specifications given below:
class name : Picnic
void display1(): To display venue, place and reporting time.
void display2(): To display number of students, name of the teacher accompanying
and bus number
Write a main class to create an object of the class 'Picnic' and call the functions
display1() and display2() to enable the task.​

Answers

Answered by saransrini03
1

lass name : Picnic

void display1():

To display venue, place and reporting time.

void display2():  

To display number of students, name of the teacher accompanying

and bus number

Write a main class  

to create an object

of the class 'Picnic' and call the functions

display1() and disp

lay2() to enable the task.​

Similar questions