Answer:
Charles Babbage is the father of the computer
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);
}
The instructions which a computer would have the <u>hardest time</u> completing correctly are <u>complex instructions</u>.
<h3>What is an instruction?</h3>
An instruction can be defined as a set of executable codes that are written and developed to instruct the central processing unit (CPU) of a computer system on how to perform a specific task and proffer solutions to a particular problem.
This ultimately implies that, it is a segment of executable codes which contain steps that are to be executed by the central processing unit (CPU) of a computer system.
In Computer programming, the instructions which a computer would have the <u>hardest time</u> completing correctly are <u>complex instructions</u>.
Read more on instructions here: brainly.com/question/26324021
You need to see an image, but here's some possible answers.
operating system.
program.
spreadsheet.
freeware.
groupware.
shareware.
application software.
bundled software.
software system. ...
package. ...
sofware (related) ...
hardware (related) ...
software program. ...
software-hardware (related) ...
pc-based (related)
<h2><u><em>
Bryannasalaz</em></u></h2>
Answer:
"64" is the output of the above code.
Explanation:
- The function holds the expression with (**) operator which is used to calculate the power in python language.
- So if we write 2**4, then this will give 16 as output. It is because when we calculate the
, then it will become 16. - The above question passes the num1 and num2 value in the function as an argument which is 3 and 4.
- So 3 will be initialized for x variable and 4 is for y variable.
- So when we calculate
then it will become
which will become 16. - So 64 is the output for the above question.