Answer:
a) zero b) zero
Explanation:
Newton's first law tells us that a body remains at rest or in uniform rectilinear motion, if a net force is not applied on it, that is, if there are no applied forces or If the sum of forces acting is zero. In this case there is a body that moves with uniform rectilinear motion which implies that there is no net force.
Answer:
Java program explained below
Explanation:
FindSpecialNumber.java
import java.util.Scanner;
public class FindSpecialNumber {
public static void main(String[] args) {
//Declaring variable
int number;
/*
* Creating an Scanner class object which is used to get the inputs
* entered by the user
*/
Scanner sc = new Scanner(System.in);
//getting the input entered by the user
System.out.print("Enter a number :");
number = sc.nextInt();
/* Based on user entered number
* check whether it is special number or not
*/
if (number == -99 || number == 0 || number == 44) {
System.out.println("Special Number");
} else {
System.out.println("Not Special Number");
}
}
}
_______________
Output#1:
Enter a number :-99
Special Number
Output#2:
Enter a number :49
Not Special Number
Answer:
The Full details of the answer is attached.