Dont count on the awnser just a guess but i think it has to be saved?
Answer:
Explanation:
The following code is written in Java and simply grabs the three inputs and saves them into three separate variables. Then it multiplies those variables together and saves the product in a variable called product. Finally, printing out the value of product to the screen.
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int num1 = in.nextInt();
int num2 = in.nextInt();
int num3 = in.nextInt();
int product = num1 * num2 * num3;
System.out.println(product);
}
}
Answer:
- def longest(L):
- for x in L:
- if(len(x) % 2 == 0):
- if(x.endswith("ing")):
- return x
- return ""
-
- print(longest(["Playing", "Gaming", "Studying"]))
Explanation:
The solution is written in Python 3.
Firstly, create a function longest that takes one parameter L as required by question (Line 1).
In the function, create a for loop to traverse through each string in L and check if the current string length is even (Line 2 - 3). If so, use string endwiths method to check is the current string ended with "ing". If so return the string (Line 4-5).
At last, test the function by passing a list of string and we shall get the output "Gaming".
Answer:
68%
Explanation:
Identity theft is a kind of crime that is committed when individuals are impersonated. The person who commits the crime assumes the personality of the victim. This could happen in the case of internet financial crimes where the financial details of individuals are stolen and then used to make unauthorized transactions.
The Bureau of Justice report on identity theft victims in 2014 shows that among the victims of this act only 32% knew how the offender was able to obtain their information. This would mean that 68% of the victims were unable to determine how their information as stolen.