By looking at your code, it seems like you're trying to let the user enter positive numbers until the user enters a negative number. To achieve this, you need to indent int(input("Enter a number, negative to stop")) inside the loop.
The second answer choice is correct.
The two basic windows 8 setting for network security are
Public and private network. The private network settings mean that you can link
home group and make remote desktop connections. Public network settings entail the
greatest privacy. You should make sure file or device sharing is disabled for
having data copy.
<span> </span>
Answer:
public static int sumStrings(String s1, String s2, String s3) {
int i1 = Integer.parseInt(s1);
int i2 = Integer.parseInt(s2);
int i3 = Integer.parseInt(s3);
int sum = i1 + i2 + i3;
return sum;
}
Explanation:
- Create a method called <em>sumStrings</em> that takes three strings
- Convert each string to integer using Integer.parseInt() method
- Sum the strings
- Return the result
Well brainly could be deleting you question because of things like,
- The question is for an exam
- The question does not include proper question material
- A singular swear word
- Its not subject related to(math, science, history or etc).
<em>Hope this helps!</em>