Find integer values of Log levels

Report a typo

You will be given a list of space-separated log levels. Find the total integer value of the given log level set.

Sample Input 1:

info severe

Sample Output 1:

1800
Write a program in Java 17
class Main {
public static void main(String[] args) {
// put your code here
}
}
___

Create a free account to access the full topic