Answer:
21
Explanation:
The values of c that make it into the loop are 1, 4, 7.
The values that are added to sum are 3 higher, i.e., 4,7 and 10.
The sum of those is 21.
p.s. why did you not run the program yourself?
Answer:
Integer.parseInt( stringVariable );
Explanation:
This function is used to convert the string into integer in java .Following are the program that convert the string into integer in java .
public class Main
{
public static void main(String[] args) // main method
{
String num = "1056"; // string variable
int res = Integer.parseInt(num); //convert into integer
System.out.println(res); // display result
}
}
Output:1056
Therefore the correct answer is:Integer.parseInt( stringVariable );
You already wrote the answer. It is Additions
I would believe this is true if the following are also true.
Input devices are things like keyboards, mouses, buttons, e.c.t.
If that is true then I would believe it to be true due to multiple inputs are being used to communicate.