Shivam - Maths tutor - Patna
Shivam - Maths tutor - Patna

Shivam's profile and their contact details have been verified by our experts

Shivam

  • Price $8
  • Answer 1h
Shivam - Maths tutor - Patna

$8/h

More Maths teachers

This teacher is currently unavailable

  • Maths
  • Chemistry
  • Organic chemistry
  • Algorithms

Computer science engineer (3 rd year undergraduate) Also good in programming languages like c, c++ ,java, python etc.

  • Maths
  • Chemistry
  • Organic chemistry
  • Algorithms

Lesson location

About Shivam

Well, I believe in the principle that says "The Teacher learns the most". Teaching others what u have to learn is the magical trick that will make you an expert at that particular topic.

One more thing that encourages me do this is that there's a lot of unawareness among students. They have so much of potential as well as capability but are unaware of the latest advancement in technology. I would love to share my technical knowledge and skills with them because i love to share what i learn.

see more

About the lesson

  • All Levels
  • English

All languages in which the lesson is available :

English

I want to teach the concept of variables and its values.

Let,
var a=3;
var b=8;

What if I want to exchange the values of both the variables? How can we do that?

As we all know, real-life examples are the only key to better understanding. So let's get into it.

Firstly, I will take two glasses.Then I'll pour the orange juice in the first glass and the lemon juice in the second one.
Now, I want to exchange the juices of both the glasses.
For this, I have to take an empty glass. In that glass, I will pour the orange juice of the first glass and the first glass will become empty.Then I'll pour the lemon juice of the second glass into the first glass. It will make the second glass empty and finally I'll put the orange juice into the second glass.
So now, the first glass is containing the lemon juice(which was initially in the second glass) and the second glass is containing orange juice(which was initially in the first glass).

And that's how we exchanged the juices of both the glasses.

Similarly, we can exchange the value of both the variables.
For that,we have to assume a third variable 'c' and then we can transfer the value of variable 'a' (i.e., 3) to variable 'c' and the value of variable 'b' (i.e., 8) to variable 'a'.
var c = var a;
and, var a = var b;
therefore, var c =3;
var a =8;

and then finally we can transfer the value of variable 'c' to variable 'b'.
var b = var c;
therefore, var b =3;

So now, var a =8;
and, var b =3;

And yeah, We are done!

see more

Rates

Price

  • $8

Pack prices

  • 5h: $40
  • 10h: $80

online

  • $8/h

Similar Maths tutors in Patna

  • Jhon

    Newtown & online

    5 (42 reviews)
    • $70/h
    • 1st lesson free
  • Lyle

    South Penrith & online

    4.9 (25 reviews)
    • $36/h
    • 1st lesson free
  • Dr Chintan

    Annerley & online

    5 (126 reviews)
    • $80/h
  • Nainesh

    Annerley & online

    4.9 (41 reviews)
    • $40/h
    • 1st lesson free
  • Qasim

    Fortitude Valley & online

    4.9 (32 reviews)
    • $15/h
  • Mridul

    Hillsborough & online

    4.8 (20 reviews)
    • $50/h
    • 1st lesson free
  • Melvin

    Melbourne & online

    5 (22 reviews)
    • $45/h
    • 1st lesson free
  • Mohsen

    Herne Hill & online

    4.9 (27 reviews)
    • $55/h
    • 1st lesson free
  • Jon

    Perth & online

    5 (29 reviews)
    • $80/h
  • Carolina Odile

    Sydney & online

    4.9 (16 reviews)
    • $100/h
  • Saeid

    Doncaster & online

    4.9 (18 reviews)
    • $130/h
  • Sahabe

    Shelley & online

    4.9 (17 reviews)
    • $80/h
  • Jed

    Melbourne & online

    5 (60 reviews)
    • $65/h
  • Neha

    Sydney & online

    5 (32 reviews)
    • $75/h
  • James

    North Melbourne & online

    4.9 (25 reviews)
    • $90/h
  • Caroline

    Brisbane & online

    5 (15 reviews)
    • $60/h
  • Levi

    Toowoomba & online

    5 (26 reviews)
    • $79/h
    • 1st lesson free
  • MAYANK MNSB

    Melbourne & online

    5 (17 reviews)
    • $80/h
    • 1st lesson free
  • Dr Smit

    Fortitude Valley & online

    4.9 (87 reviews)
    • $60/h
  • Andrew

    Kew & online

    5 (76 reviews)
    • $120/h
  • More Maths teachers