1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
kozerog [31]
3 years ago
8

How do u answer questions on brainly if ur on the app and on a phone. For me there is no answer button :(

Computers and Technology
1 answer:
Rudik [331]3 years ago
8 0

Answer:

oh for me there is maybe try reloading?

Explanation:

You might be interested in
In Java, write a AllDigitsOdd program that has a method called allDigitsOdd that takes an integer and returns whether every digi
yan [13]

Answer:

Hi there! The solution for this problem can be implemented a number of ways. Please find my solution below along with the explanation.

Explanation:

The prompts are fairly easily implemented using the Scanner class in Java for user input. In the allDigitsOdd function, we can perform a Math operation on the number being passed into the function to determine the number of digits in the number. We use the log10 function to do this and convert the double value returned to int. This is calculated in the code below as:  "(int)(Math.log10(number) + 1); ". Once we have the number of digits, we write a simple loop to iterate over each digit and perform a modulus function on it to determine if the digit is odd or even. I have declared 2 variables call odd and even that get incremented if the mod function (%) returns a 1 or a 0 respectively. Finally, the result is displayed on the screen.

AllDigitsOdd.java

import java.util.Scanner;

import java.lang.Math;

public class AllDigitsOdd {

 public static void main(String args[]) {

   // print main menu for user selection

   System.out.println("Please enter a number");

   Scanner scan = new Scanner(System.in);

   int selection = scan.nextInt();

   if (allDigitsOdd(selection)) {

     System.out.println("All numbers are odd");

   } else {

     System.out.println("All numbers are not odd");

   }

 }

 public static boolean allDigitsOdd(int number) {

   int digits = (int)(Math.log10(number) + 1);

   int even = 0;

   int odd = 0;

   for (int index = 1; index <= digits; index++) {

       if ((int)(number / Math.pow(10, index - 1)) % 10 % 2 == 0) {

         even += 1;

       } else {

         odd += 1;

       }

   }

   if (even == 0 && odd > 0) {

     return true;

   } else {

     return false;

     //if (odd > 0 && even == 0) {

     //  return true;

     //}

   }

 }

}

8 0
3 years ago
What are the minimum pixel dimensions of a monitor?
Nadusha1986 [10]
For a 20" x 30" print, the image resolution should be 1600 x 1200 pixels minimum. For a Wallet-size<span> print, the image resolution should be 320 x 240 </span>pixels minimum<span>.</span>
3 0
3 years ago
C. An error that due to wrong input.​
ladessa [460]

c. An error that due to wrong input.

=> Bug

<em>Hope </em><em>it</em><em> is</em><em> helpful</em><em> to</em><em> you</em>

6 0
3 years ago
You decide to share the annual report for your company from your computer. You decide that the data will be stored in its own pa
kobusy [5.1K]

Answer:

  • The required functionality can be provided by both NTFS and FAT.
  • NTFS will provide a sophisticated security features as the partition is so small but the NTFS files will consume a lot of disk space.
  • FAT on the other hand will not use much space but talking about security features, the read only feature can be granted by FAT. The folder can be shared and restricted for required user only giving the read-only right to the user. This feature is equally voted for NTFS and FAT
  • So FAT therefore will provide a normal functionality whereas NTFS would perform perfectly. Ignoring the consumption of disk space by NTFS.

8 0
3 years ago
Which are the two places where auto sum button is available?​
Pavel [41]

Click on the AutoSum button from the Editing group of the ribbon. Excel will highlight the ... The AutoSum option can be found in two areas :.

7 0
3 years ago
Other questions:
  • All of the following except one are issues that should be covered in an AUP. Which one is the exception?
    5·1 answer
  • What is the order of arrangement of files and folders on a computer?
    15·1 answer
  • You view a portion of a document on the screen through a ____.
    15·1 answer
  • Identify the data set level of measurement for the following: individual tax filing status (single, head of household, widowed,
    8·1 answer
  • Perfective maintenance usually is cost effective ____ the system
    10·2 answers
  • What do the following standards cover?
    7·1 answer
  • ou use productivity apps on your iPad tablet device while traveling between client sites. You're concerned that you may lose you
    11·1 answer
  • To format a picture to look like a sketch or a painting you can add a(an)
    13·1 answer
  • Types of Computer games​
    6·1 answer
  • ________ helps in determining the cause of a security threat in an incident response plan. Question 7 options: A) Restricting sy
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!