Answer:
The correct answer for the given question is 24
Explanation:
In the given question the value of variable i entered by the user is 25 i.e the value of i is 25 control checks the condition of if block which is false .So control moves to the else block and executed the condition inside the else block means it executed i-- decrements the value of i by 1 means i is 24
Following are the program of java :
import java.util.*;// import package
public class Main // main class
{
// main method
public static void main(String[] args)
{
int i = 0; // variable declaration
Scanner in = new Scanner(System.in); // creating class of scanner class
System.out.print("Enter a number: ");
i = in.nextInt(); // user input
if (i > 25) // check if block
{
i++; // increment the value of i
}
else
{
i--; // decrement the value of i
}
System.out.println(i); // display i
}
}
Output:
Enter a number:25
24
The answer is "networks allow computer to connect quickly and to share data or equipment". This is true because with a commuter network you can instantly share files to all the other computer by putting them of the network file storage center. This also allows multiple pieces of equipment to be used to complete one task that would usually take longer if a single computer did it
I can’t see the answer choices but I would like to say it’s JPEG am not sure. Could you at least provide the answer choices? Thanks!
There are 6 possible outcomes and they are :
S={link1,link2,link3,link4,link5,leave}
this is the sample space for the outcome of a visitor to your webpage.
Answer:
fair credit reporting act