The laser is similar to the hitscan system. It moves quickly, so as soon as you shoot, the laser will instantly travel and hit the target where you aim. On the other hand, a projectile will travel to the target over time, meaning you have to account for the projectile dropping over that distance (and aim higher, in front of the target, etc.) to make sure you land the hit.
Answer:
Ima say no you cant but you can probably email the person in charge of brainly and tell them and then i do not know the answer to the 2nd question.
Yes , usually before you sign up for a website or app it will warn you and tell you what the app or website will have access to and what will gained through using the website or app
The fact that you could easily pull it up
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