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.
Answer:
Form and reports are the documents which are used to create for include the information according to the particular requirements. These are the types of documents which include some extra information in the predefined information according the particular needs and requirements.
The following are the guidelines when developing forms and reports are:
- If the data or information is in the form of table then, use the query module for defining the particular relationship of table.
- Use the proper syntax and appropriate language to define the information in the forms and reports so, it become easy to the users or customers for access the information.
- During the form development, we can also provide the validation requirement and many toolbar buttons to make easy for users.
Answer:
Avoid sharing photos with anyone online.
Explanation:
People can track you down. Its not worth to be kidnapped. Stay safe.
Answer:
yeet my points into my wallet i need brainliest for points plzz
i actually think scheduling im 11 so i dont know dude
Answer:
false
Explanation:
we use save to save a copy of your data