Java program that reads a floating-point number and prints "zero" if the number is zero. Otherwise, print "positive" or "negative" | infoStud blogs
Objective: Write a Java program that reads a floating-point number and prints "zero" if the number is zero. Otherwise, print "Positive…