TutorMe homepage
Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Imthiyaz M.
Tutor for one Year, Developer at Accenture
Tutor Satisfaction Guarantee
Java Programming
TutorMe
Question:

Write a program to check whether a number is palindrome or not

Imthiyaz M.
Answer:

If a number is said to be palidrome then the reverse of that number should be same as that of number. public class PalindromeOrNot { public static void main(String[] args) { int num=202; int reminder=0,temp=num,reverse=0; while(num>0) { reminder=num%10; //calculating reminder reverse=reverse*10+reminder; //calculating reverse num=num/10; } if(reverse==temp) //checking for palindrome condition System.out.println("Number is palindrome"); else System.out.println("Number is not a palindrome"); } }

Trigonometry
TutorMe
Question:

In a right triangle ABC with angle A equal to 90, find angle B and C so that sin(B) = cos(B).

Imthiyaz M.
Answer:

given sin(B)=cos(B) we can write cos(B) as sin(90-B) therefore, sin(B)=sin(90-B) on comparing both sides B=90-B 2B=90 B=45 In a triangle sum of angles=180 given A=90 B=45 and A+B+C=180 90+45+C=180 c=45

Basic Math
TutorMe
Question:

A soccer team played 160 games and won 65 percent of them. How many games did it win?

Imthiyaz M.
Answer:

65 percent means out of 100 games they won 65. Therefore, for 100 games 65 won for 160 games means 160*65/100=10400/100=104 Therfore they won 104 games.

Send a message explaining your
needs and Imthiyaz will reply soon.
Contact Imthiyaz
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.