NIMTA, Kolkata, India - 700049
Top Tutor 15
Details verified of Himbanta M.✕
Identity
Education
Know how UrbanPro verifies Tutor details
Identity is verified based on matching the details uploaded by the Tutor with government databases.
Class Location
Online Classes (Video Call via UrbanPro LIVE)
Student's Home
Tutor's Home
Years of Experience in Class 6 Tuition
6
Board
CBSE, State, ICSE
State boards taught
West Bengal State Board
CBSE Subjects taught
Science, Mathematics
ICSE Subjects taught
Biology, Mathematics, Physics, Chemistry
Experience in School or College
I was a part time teacher in The Aryans for 1.5 years
Taught in School or College
Yes
State Syllabus Subjects taught
Science, Mathematics
4.8 out of 5 48 reviews
Olivia Mukherjee
Class 9 Tuition
"Sir teaches me everything very clearly and he explains the content of the chapters in a very precise way , giving examples , and my parents and I have really loved his teaching method . Thank you , Olivia "
Ankita Mukherjee
Class 7 Tuition
"He has been a very responsible teacher to my brother. He completed full syllabus and taught him in a disciplined but fun way. "
Ankita Roy
"My younger sister used to study from him. Teaches really well and with care. Eager to communicate as per the needs. "
Bipra Bhattacharjee
"He is an excellent teacher. He is teaching my brother for sometimes now. I am amazed to see how much my brother improved in terms of concept. His way of teaching is amazing. "
Rini Bhadra
"Himbanta is a very good teacher. He has been teaching my child for 1year and his expertise in Mathematics, Physics and Chemistry is an asset for his students. I highly recommended him. "
Somnath Sinha
"Himbanta is an excellent teacher and he has been teaching my son for sometime now. His in-depth knowledge of physics, chemistry and mathematics has helped my ward to clear the concepts with ease. I highly recommend him. "
Rimon Bhadra
Class I-V Tuition
I loved
Audio/Video Quality
Class Content
Teaching Method
Teacher's Knowledge
Rimon Bhadra
Class I-V Tuition
I didn't like
Audio/Video Quality
Rimon Bhadra
Class I-V Tuition
I loved
Audio/Video Quality
Class Content
Teaching Method
Teacher's Knowledge
Rimon Bhadra
Class I-V Tuition
I loved
Audio/Video Quality
Class Content
Teaching Method
Teacher's Knowledge
Rimon Bhadra
Class I-V Tuition
I liked
Class Content
Teaching Method
Teacher's Knowledge
Rimon Bhadra
Class I-V Tuition
I loved
Audio/Video Quality
Class Content
Teaching Method
Teacher's Knowledge
Rimon Bhadra
Class I-V Tuition
I loved
Audio/Video Quality
Class Content
Teaching Method
Teacher's Knowledge
Rimon Bhadra
Class I-V Tuition
I loved
Audio/Video Quality
Class Content
Teaching Method
Teacher's Knowledge
Saptarshi Roy
Class 9 Tuition
I loved
Audio/Video Quality
Answered on 23/04/2021 Learn Tuition
#include<stdio.h>
int main()
{
int a=10, b=20;
printf("Before swap a=%d b=%d",a,b);
a=a+b;//a=30 (10+20)
b=a-b;//b=10 (30-20)
a=a-b;//a=20 (30-10)
printf("\nAfter swap a=%d b=%d",a,b);
return 0;
}
Output:
Before swap a=10 b=20
After swap a=20 b=10
Program 2: Using * and /
Let's see another example to swap two numbers using * and /.
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a=10, b=20;
printf("Before swap a=%d b=%d",a,b);
a=a*b;//a=200 (10*20)
b=a/b;//b=10 (200/20)
a=a/b;//a=20 (200/10)
system("cls");
printf("\nAfter swap a=%d b=%d",a,b);
return 0;
}
Answered on 22/04/2021 Learn Tuition
Without using any variable in C++:
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a=10, b=20;
printf("Before swap a=%d b=%d",a,b);
a=a*b;//a=200 (10*20)
b=a/b;//b=10 (200/20)
a=a/b;//a=20 (200/10)
system("cls");
printf("\nAfter swap a=%d b=%d",a,b);
return 0;
}
With using third variable:
#include<stdio.h>
int main() {
double first, second, temp;
printf("Enter first number: ");
scanf("%lf", &first);
printf("Enter second number: ");
scanf("%lf", &second);
// Value of first is assigned to temp
temp = first;
// Value of second is assigned to first
first = second;
// Value of temp (initial value of first) is assigned to second
second = temp;
printf("\nAfter swapping, firstNumber = %.2lf\n", first);
printf("After swapping, secondNumber = %.2lf", second);
return 0;
}
Share this Profile
Reply to 's review
Enter your reply*
Your reply has been successfully submitted.
Certified
The Certified badge indicates that the Tutor has received good amount of positive feedback from Students.