C++ TY Mech AB
Friday, 17 July⋅13:30 – 14:30
Weekly on Friday, until 30 Sep 2020
Join with Google Meet
https://meet.google.com/qaj-pyzn-zmy
40 guests
8 yes, 32 awaiting
Description:Dear Student Friends,Please join sharp at 13:30 today. I will admit/allow students up to 13:40.Those who will join late for them door will be closed means entry to the session will be denied. Please note. Because admitting late, creates disturbance to all.
Organiser: Sachin Bhosale
Sachin Bhosale
With Kind Regards,
Program which we have seen today's :
For Version 3 of Kunckle Joint CPP Program -
Click here
/*
A C++ program to understand :: (Scope Resolution operator)
Scope resolution operator helps to define userdefined function outside the class.
*/
#include<iostream.h>
#include<conio.h>
class areas
{
private:
int s,as;
public:
void enters();
void cal_as();
};
void areas::enters()
{
cout<<"\n Please enter side of square=";
cin>>s;
}
void areas::cal_as()
{
as=s*s;
cout<<"\n Area of Square="<<as;
}
void main()
{
clrscr();
areas q;
q.enters();
q.cal_as();
getch();
}
/*
Please enter side of square=4
Area of Square=16
*/
Attendance will be uploaded after 14:45.
Google Meet Session Video Link:
Please rotate mobile screen.
Google Meet Session Video Facebook Link:
No comments:
Post a Comment