Answer:
3
Explanation:
I've just taken the test and made a 100. 3 is the most logical answer aswell, it has more of an effect than the others.
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.
If a headset plugged into computer is not working properly than one can go for updating the device driver. The correct option is B.
<h3>What is a device driver?</h3>
A device driver is a type of software application that allows one hardware device (such as a computer) to communicate with another hardware device (such as a printer). A device driver is indeed referred to as a software driver.
A driver, also known as a device driver, is a collection of files that instructs a piece of hardware on how to operate by communicating with a computer's operating system.
Every piece of hardware, from internal computer components like your graphics card to external peripherals like a printer, requires a driver.
If a headset plugged into a computer is not working properly, the device driver can be updated.
Thus, the correct option is B.
For more details regarding device driver, visit:
brainly.com/question/14054807
#SPJ12
Answer:
The sort function
Explanation:
Because it will sort all the numbers.