Answer:
I will code in JAVA.
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
boolean tallEnough;
boolean oldEnough;
Scanner input = new Scanner(System.in);
tallEnough = input.nextBoolean();<em> //wait the input for tallEnough</em>
oldEnough = input.nextBoolean(); <em>//wait the input for OldEnough</em>
if(tallEnough && oldEnough){
System.out.print(true);
} else {
System.out.print(false);
}
}
}
Explanation:
First, to accept user inputs you have to import the class Scanner. Then declare both variables before allowing the user to set input values for both boolean variables.
In the if-else statement checks if both variables are true, then prints true. Another case prints always false.
Answer:
/28 -- 16 Subnets -- 14 Hosts/Subnet
14*16 = 224 hosts
Explanation:
see https://www.aelius.com/njh/subnet_sheet.html
Answer:
2 and 3
Explanation:
fill out all details because the email looks authentic
call the bank to determine if he email is authentic
hope this helps