Answer:
Explanation:
The following Java code basically divides the goal size by 5 and rounds the answer to the lowest whole number. Then multiplies that answer by 5 and goes adding 1 until the exact goal size is met. If the value is passed then that means that using the current brick sizes it is not possible to make the goal. Otherwise, it will print out that it is possible.
import java.io.*;
import java.util.Scanner;
public class Main{
public static void main(String args[]) throws IOException {
String answer = "No, it is not possible";
Scanner in = new Scanner(System.in);
System.out.println("Enter goal size: ");
float goalSize = in.nextFloat();
float currentSize = (float) Math.floor(goalSize / 5);
currentSize = currentSize * 5;
while (true) {
if (currentSize < goalSize) {
currentSize += 1;
} else if(currentSize == goalSize) {
answer = "Yes, it is possible";
break;
} else {
break;
}
}
System.out.println(answer);
}
Answer:
By seeing if there are any red lines under the words or go to tools.
Explanation:
Sometimes when you spell something wrong, there will be a red line under it. If not, and you're are not sure if it's correct, go to "tools" then select spelling and grammar then it'll give you corrections if they need to correct anything.
La influencia de las redes sociales en la casa puede variar. Primero puede ser bueno porque podemos usar las redes sociales para ver recetas de cocina para hacer en casa. Segundo puede ser malo porque las personas de la casa podrían sufrir acoso cibernético .
i believe the Nintendo 64
Answer:
Flow charts help programmers develop the most efficient coding because they can clearly see where the data is going to end up. Flow charts help programmers figure out where a potential problem area is and helps them with debugging or cleaning up code that is not working.
creds to study.com (please don't copy it work by word, make sure to paraphrase it. otherwise plagiarism is in the game.)
Explanation: