Answer:
<em>public static void printLarger(double sales1, double sales2){</em>
<em> if (sales1>sales2){</em>
<em> System.out.println(sales1+" is larger");</em>
<em> }</em>
<em> else {</em>
<em> System.out.println(sales2+" is larger");</em>
<em> }</em>
<em> }</em>
<em>A complete code calling the printLarger method is given below</em>
Explanation:
<em>public class Larger{</em>
<em> public static void main(String[] args) {</em>
<em> int sales1 = 100;</em>
<em> int sales2 = 120;</em>
<em> printLarger(sales1,sales2);</em>
<em> }</em>
<em>public static void printLarger(int sales1, int sales2){</em>
<em> if (sales1>sales2){</em>
<em> System.out.println(sales1+" is larger");</em>
<em> }</em>
<em> else {</em>
<em> System.out.println(sales2+" is larger");</em>
<em> }</em>
<em> }</em>
}