write a program in bluej to accept a number and check if it is a tech number or not
send fast
no spams
Answers
Answer:
import java.util.Scanner;
class Checktechno
{
public static void main (String args [ ])
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter a number");
int n=sc.nextInt();
int k=n,c=0,f=0,fs=0,ls=0,t=0,num=0;
while(k>0)
{
c=c+1;
k=k/10;
}
if(c%2==0)
{
c=c/2;
f=(int)Math.pow(10,c);
fs=n%f;
ls=n/f;
t=fs+ls;
num=(int)Math.pow(t,2);
if(num==n)
System.out.println("Tech Number");
else
System.out.println("Not a Tech Number");
}
else
{
System.out.println("Not a Tech Number");
}
}
}
Answer:
if a transversal intersects two lines such that the bisectors of a pair of corresponding angles are parallel then prove thatif a transversal intersects two lines such that the bisectors of a pair of corresponding angles are parallel then prove that the two lines are parallel l