Write a method to test whether three numbers have the same sign (positive, zero, or negative). For example,

Complete the following file:


/** A class to compare numbers. */ public class Numbers { /** Checks whether three numbers have all the same sign. @return true if all of the numbers a, b, and c have the same sign */ public boolean allSameSign(int a, int b, int c) { // your work here } }