What is his resolution amount

Answers

Answer 1
I think it’s 92 I mean yh

Related Questions

B1:B4 is a search table or a lookup value

Answers

Answer:

lookup value

Explanation:

the language is Java! please help

Answers

public class Drive {

   int miles;

   int gas;

   String carType;

   public String getGas(){

       return Integer.toBinaryString(gas);

   }

   public Drive(String driveCarType){

       carType = driveCarType;

   }

   public static void main(String [] args){

       System.out.println("Hello World!");

   }

   

}

I'm pretty new to Java myself, but I think this is what you wanted. I hope this helps!

(1) Prompt the user to enter a string of their choosing. Output the string.
Ex: Enter a sentence or phrase: The only thing we have to fear is fear itself. You entered: The only thing we have to fear is fear itself.
(2) Complete the GetNumOfCharacters() function, which returns the number of characters in the user's string. Use a for loop in this function for practice. (2 pts)
(3) In main(), call the GetNumOfCharacters() function and then output the returned result. (1 pt) (4) Implement the OutputWithoutWhitespace() function. OutputWithoutWhitespace() outputs the string's characters except for whitespace (spaces, tabs). Note: A tab is '\t'. Call the OutputWithoutWhitespace() function in main(). (2 pts)
Ex: Enter a sentence or phrase: The only thing we have to fear is fear itself. You entered: The only thing we have to fear is fear itself. Number of characters: 46 String with no whitespace: The only thing we have to fear is fear itself.

Answers

Answer:

See solution below

See comments for explanations

Explanation:

import java.util.*;

class Main {

 public static void main(String[] args) {

   //PrompT the User to enter a String

   System.out.println("Enter a sentence or phrase: ");

   //Receiving the string entered with the Scanner Object

   Scanner input = new Scanner (System.in);

   String string_input = input.nextLine();

   //Print out string entered by user

   System.out.println("You entered: "+string_input);

   //Call the first method (GetNumOfCharacters)

   System.out.println("Number of characters: "+ GetNumOfCharacters(string_input));

   //Call the second method (OutputWithoutWhitespace)

   System.out.println("String with no whitespace: "+OutputWithoutWhitespace(string_input));

   }

 //Create the method GetNumOfCharacters

   public static int GetNumOfCharacters (String word) {

   //Variable to hold number of characters

   int noOfCharactersCount = 0;

   //Use a for loop to iterate the entire string

   for(int i = 0; i< word.length(); i++){

     //Increase th number of characters each time

     noOfCharactersCount++;

   }

   return noOfCharactersCount;

 }

 //Creating the OutputWithoutWhitespace() method

 //This method will remove all tabs and spaces from the original string

 public static String OutputWithoutWhitespace(String word){

   //Use the replaceAll all method of strings to replace all whitespaces

   String stringWithoutWhiteSpace = word.replaceAll(" ","");

   return stringWithoutWhiteSpace;

 }

}

Write a program that reads in 10 numbers from the user and stores them in a 1D array of size 10. Then, write BubbleSort to sort that array – continuously pushing the largest elements to the right side

Answers

Answer:

The solution is provided in the explanation section.

Detailed explanation is provided using comments within the code

Explanation:

import java.util.*;

public class Main {

//The Bubble sort method

public static void bb_Sort(int[] arr) {  

   int n = 10; //Length of array  

   int temp = 0; // create a temporal variable  

   for(int i=0; i < n; i++){  

         for(int j=1; j < (n-i); j++){  

           if(arr[j-1] > arr[j]){  

               // The bubble sort algorithm swaps elements  

               temp = arr[j-1];  

               arr[j-1] = arr[j];  

               arr[j] = temp;  

             }  

         }            

         }  

        }

 public static void main(String[] args) {

   //declaring the array of integers

   int [] array = new int[10];

   //Prompt user to add elements into the array

   Scanner in = new Scanner(System.in);

   //Use for loop to receive all 10 elements

   for(int i = 0; i<array.length; i++){

     System.out.println("Enter the next array Element");

     array[i] = in.nextInt();

   }

   //Print the array elements before bubble sort

   System.out.println("The Array before bubble sort");

   System.out.println(Arrays.toString(array));

   //Call bubble sort method

   bb_Sort(array);  

               

   System.out.println("Array After Bubble Sort");  

   System.out.println(Arrays.toString(array));

 }

}

Other Questions
Please help me solve this problem!! I WILL GIVE YOU BRAINLIEST!(Algebra 1)m5m-4 Im not very great a math and Im a bit rush so yeah Use the Distributive Property to simplify 17(2b + 3) A student observes that a mountain has a layer of coal at the top of it.How did the coal come to be at the top of the mountain?* Fill in the blank in the following sentence with the appropriate verb below.En 1990, nous ___ un grand piano.A. avonsB. tionsC. aviezD. avions What is the difference between active transport across a cell membrane and diffusion across a cell membrane? Will hand out brainliest to the best answer! (+100 pts) What is a taiga?O 1/5O 2/5O 3/5O 4/5 Choose one writing strategy the author uses to develop a central idea Determine the distance from point (2,4) to (4,-2) Plz help asap 13In the figure shown below, if line mis parallel to line n, then find the value of x. (This is a 2 part question.)m(2x-10)(65 - x)Part AWrite the equation to find the value of x. (DO NOT find x, just write the equation.)(2x - 10) (65 - x)Part BWhat is the value of x?Y Which biome receives 200 to 400 cm of rain per year?Deciduous forestTemperate rain forestTaigaGrassland A TV show has 26 episodes. Due to the lack of time, you can onlywatch 5 of them. However, in order to get a gist of what the showis about, you do not want to watch any two consecutive episodes.How many selections of 5 episodes are there with no two consecutiveepisodes chosen? Assuming that the order of selection is irrelevant.(Hint:this is a Stars and Bars problem) One of the dog treats in Shelleys shop is 8 inches long and 3.2 inches wide. She wants to make a miniature version that has proportional dimensions. If the miniature treat will be 3 inches long, how wide should it be? What is the meaning of this excerpt?Reread this excerpt from The Call of the Wild.An oath from Perrault, the resounding impact of a clubupon a bony frame, and a shrill yelp of pain, heralded thebreaking forth of pandemonium. The camp wassuddenly discovered to be alive with skulking furryforms,-starving huskies, four or five score of them,who had scented the camp from some Indian village.They had crept in while Buck and Spitz were fighting,and when the two men sprang among them with stoutclubs they showed their teeth and fought back. Theywere crazed by the smell of the food. Perrault found onewith head buried in the grub-box.O Perrault is fighting stray dogs that have invaded thecampsite looking for food.O Perrault is punishing members of his dogsled teamfor their aggressive acts.Perrault is reprimanding his dogsled team for stealingscraps of food.O Perrault is feeding wild dogs and training them forwork on his team. (4.3 x 10^-3)(2 x 10^-2) in standard form PLEASEEEEEEQu palabra describe mejor el proceso de independencia de Mxico? An aquarium is being filled at a rate of 2.5 inches per second. The equationLaTeX: y=2.5xy = 2.5 x is used to determine the height of the water after LaTeX: xx seconds. Find the domain and range of the situation if it takes 60 seconds to fill the aquarium. The zika virus was first identified in Uganda in 1947. The virus is transmitted from person to person by a bite from a mosquito. It is commonly carried by the Aedes mosquito which is prevalent throughout Central Africa. The virus has more recently spread to the Americas (South, Central, and now North) and is expected to spread to Europe. There is a concern that the virus may reach epidemic proportions. Zika virus is related to yellow and dengue fever. Common symptoms are low grade fever and a distinctive skin rash and other symptoms include vomiting, headache, and muscle and/or joint pain. Pregnant women should avoid traveling to areas known to have zika virus present because the virus is known to cause microcephaly and developmental difficulties related to the central nervous system. Based on the paragraph above, class discussions, and other VALID (be careful with your selection of e-materials! CDC Center for Disease Control is a good place to start) sources of information please answer the following questions. 1. State a reason why the virus has spread to the Americas and likely to spread to Europe. 2. Define the term microcephaly.3. What bones of the fetal skull would be affected by zika? Specifically, what area of the CNS is not fully developed in microcephalic individuals. HELP ME PLEASE IM ALMOST TO 100