Subscribe this Blog

Wikipedia

Search results

Notifications and New Posts!

Friday, July 3, 2020

Google Meet Session - 03rd July 2020 C++ TY Mechanical (A and B)

C++ TY Mech AB
Friday, 3 July13:30 – 14:30
Weekly on Friday, until 30 Sep 2020
Join with Google Meet
meet.google.com/qaj-pyzn-zmy
Join by phone

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.
  1. 10 minutes before

Organiser: Sachin Bhosale

Facebook Video


  

Learning from this session: C++ TY Mech AB Friday, 3 July⋅13:30 – 15:30 Weekly on Friday, until 30 Sep 2020 Today first one hour I invested to change name of students in their google accounts. 

Now students have changed their name with thier Roll numbers. Following is the General way of giving/changing name to capture Roll number of student in Google Meet Attendance: 
Ex: TYA_700 first_name 
Students have changed as per above and I could able to capture attendance of students with their roll numbers. With the help of Sorting is in excel it is now very easy for me to find absent stuedents for my session. 
 After one hour, I started program to class and object concept: 
/*
A C++ program to understand class and object concept
To calculate area of circle
*/
#include<iostream.h>
#include<conio.h>

class Area; //declaration of class
class Area
{
private:
float pi,r,ac;
public:
void calcualte_area_of_circle()
{
cout<<"\n Please enter Radius=";
cin>>r;
pi=3.14;
ac=pi*r*r;
cout<<"\n Area of circle="<<ac;
}
};

void main()
{
clrscr();
Area obj; //object is created
obj.calcualte_area_of_circle();
getch();
}


/*
A C++ program to understand class and object concept
To calculate area of circle
*/
#include<iostream.h>
#include<conio.h>

class Area; //declaration of class
class Area
{
private:
float pi,r,ac;
public:
void enter_r()
{
cout<<"\n Please enter Radius=";
cin>>r;
}
void calculate_ac()
{
pi=3.14;
ac=pi*r*r;
}
void display_result()
{
cout<<"\n Area of circle="<<ac;
}
};

void main()
{
clrscr();
Area obj; //object is created
obj.calcualte_area_of_circle();
obj.enter_r();   // callilng of first udf
obj.calculate_ac(); // callilng of second udf
obj.display_result();   // callilng of third udf
getch();
}






Today's Session Video 
from Google


No comments:

Post a Comment