Answer:
Explanation:
Operator can be defined as
a character or characters which gives determination of actions that are needed to be performed/ considered. Operators are symbols that gives the compiler information to perform specific mathematical/logical manipulations.They are special type of functions, which are capable of taking one or more arguments, then produces a new value. Different types of operator are;
✓arithmetic operators(addition "+" substraction "-"
✓relational operators( greater than ">"
lesser than"<"
✓Logical operators.( Connective words/symbols such as AND, NOT, OR)
Arithmetic Operators: These include "+" (addition), "-" (subtraction), "*" (multiplication), "/" (division), "\" (integer
In many, many ways. Here's some things you can talk about:
•Previously we stored patient data by hand on paper. Now we use computers to store it. This is better because what if we accidentally lost/destroyed the papers or it burned down? With computers this risk is minimised.
•We can now diagnose patients with problems with much more precision thanks to advances like MRI scanning, CT scans, and X-rays. This means we can pinpoint problems rather than guess what’s wrong.
•Prescriptions for medicine can now be arranged online and delivered to your door in some areas, whereas previously you would have to walk in and get the medicine which could be time consuming.
•We now have phones to dial 911 for emergency ambulance services. This has revolutionised how quickly responders can respond to life threatening events.
There’s much more to talk about, but all of the points above are a sold start.
All modern cd-r drives are writable, such that you can go back and burn additional data onto the cd-r disc until the disc is full.
Answer:
public static int maxMagnitude(int a, int b){
int max;
if (a>b){
max = a;
}
else{
max = b;
}
return max;
}
The complete program calling the method is given in the explanation section
Explanation:
import java.util.Scanner;
public class ANot {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Please Enter two numbers");
int num1= in.nextInt();
int num2 = in.nextInt();
System.out.println("The largest magnitude number is: "+maxMagnitude(num1,num2));
}
public static int maxMagnitude(int a, int b){
int max;
if (a>b){
max = a;
}
else{
max = b;
}
return max;
}
}
The maxMagnitude() method uses if/else statement to compare two ints and return the larger one
Repeatedly dropping a block to see what happens. They don't understand the concept of gravity, so they don't know if it will fall every single time.