# Tutor profile: Imthiyaz M.

## Questions

### Subject: Java Programming

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

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"); } }

### Subject: Trigonometry

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

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

### Subject: Basic Math

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

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.

## Contact tutor

needs and Imthiyaz will reply soon.