Answer:
It can take a negative input
Explanation:
When you declare a variable in Java and you get your input via Scanner library; the Scanner library will accept the input irrespective of whether it's negative or not.
Take for instance, the following segment
<em>Scanner input = new Scanner(System.in);</em>
<em>int userinput = input.nextInt()</em>
<em />
Irrespective of whether userinput is negative or positive, it'll accept it.
Answer:
INPUT "Enter the length";l
INPUT "Enter the width";w
PRINT "The area is ";l*w