Answer:
A - It increases stress and negatively affects your sleep.
Hope that helps. x
Don’t drop it and charge it regularly
Answer:
Explanation:
The following code is written in Java. It is a method that calculates the square root of a number as requested. The method first checks with an IF statement if the parameter value is a positive number and then calculates the square root and prints it to the screen. Otherwise, it prints Number must not be negative. A test case has been provided in the main method and the output can be seen in the attached image below.
import java.util.Scanner;
class Brainly {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter a number of type double to calculate square root:");
double num = in.nextDouble();
rootPositive(num);
}
public static void rootPositive(double num) {
if (num > 0) {
System.out.println(Math.sqrt(num));
} else {
System.out.println("Number must not be negative.");
}
}
}
Answer:
The configuration of the R1 is as follows
Explanation:
Router>enable
Router#show running-config
Router#show startup-config
Router#configure terminal
Router(config)#hostname R1
R1(config)#line console 0
R1(config-line)#password letmein
R1(config-line)#login
R1(config-line)#exit
R1(config)#enable password cisco
R1(config)#enable secret itsasecret
R1(config)#service password-encryption
R1(config)#banner motd #Unauthorized access is strictly prohibited#
R1(config)#end
R1#exit
R1>enable
R1#copy running-config startup-config
R1#show flash
R1#copy startup-config flash