Trench 4 foot or deeper and must be located 25 foot within eachother
Answer:
public class Digits
{
public static boolean allDigitsOdd(int num)
{
boolean flag=true;
int rem;
while(num>0)
{
rem=num%10;
num=num/10;
if(rem%2==0) // if a even digit found immediately breaks out of loop
{
flag=false;
break;
}
}
return flag; //returns result
}
public static void main(String args[])
{
System.out.println(allDigitsOdd(1375)); //returns true as all are odd digits
}
}
OUTPUT :
true
Explanation:
Above program has 2 static methods inside a class Digits. Logic behind above function is that a number is divided by 10 until it is less than 0. Each time its remainder by 0 is checked if even immediately breaks out of the loop.
Circles
Area of Circle is 
Total percentage increase in the area of the modified circle is 69%
Explanation:
(a) Given the diameter of the circle be d
Then the radius of the circle = r = d/2
and the area of the circle is given by:
Area(A) =
A = 
A = 
The area of circle is 
(b)
The increase in percentage while changing the dimensions is given by the formula :
Total % increase = a% + b% - (a% * b%)/100
Where ,
a% is the percentage increase in side a
b% is the percentage increase in side b
Let the percentage increase in radius is : a%
Since a% = b%
So the formula is
Total increase % = a% + a% + (a% * a%)/100
Given here the diameter of the circle increases by 30% so a =30
Therefore, putting the value of a in the formula
Total increase % = 30% + 30% + (30% *30%)/100
Total increase % = 60% + 9%
Total increase % =69%
Therefore the total percentage increase in the area of the modified circle is 69%
Answer:
cryptographic hash collision.
Explanation: