Answer: C. Shaking hands after a game/contest
Have a nice day!
In the given code, A = 2, B = 4, C = 6,.... , Z = 52.
So, ACT = 2 + 6 + 40 = 48 and
BAT = 4 + 2 + 40 = 46
The types of issues that is seen are:
- Electrocution
- Fire
- Tripping over wires and others.
<h3>What is the physical safety about?</h3>
There are a lot of of physical safety issues that can come up from using ICT devices.
A fire outbreak can occur if there is an issue with the wiring of the computer system or when there is too much voltage supplied and this is therefore a type of physical safety issues in the computer room.
Note that Electrocution is said to be the death or bad injury that is known to be caused as a result of an electric shock from electric current that tends to pass through the body.
Hence, The types of issues that is seen are:
- Electrocution
- Fire
- Tripping over wires and others.
Learn more about Electrocution from
brainly.com/question/1810934
#SPJ1
Answer:
import java.util.Scanner;
public class num4 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int sumOdds =0;
int sumEvens =0;
int num;
do{
System.out.println("Enter positive integers");
num = in.nextInt();
if(num%2==0){
sumEvens+=num;
}
else if (num%2!=0){
sumOdds+=num;
}
}while (num>0);
System.out.println("The sum of evens: "+sumEvens);
System.out.println("The sum of odds: "+sumOdds);
}
}
Explanation:
- Import Scanner class to prompt and receive user input
- Declare the following variables and initialize them int sumOdds =0, int sumEvens =0, int num;
- Create a do....while loop That continously prompts user to enter a positive number. The loop should terminate when a negative number is enters (n<=0)
- Within the while loop use an if condition with the modulo (%) operator to determine even and odd numbers and add to the respective variables
- Outside of the while loop Print sum of odds and sum of evens
Answer:
1. View
2. View macros
3. Edit
Explanation: completed on edge