Question: help with this please CS102 QUESTION 2 Complete the partial declaration of class Calculate as stated in the comment below. // (l) to receive input
QUESTION 2 Complete the partial declaration of class Calculate as stated in the comment below. // (l) to receive input x and y values from user. (3 pt) // (iii) Call methods to assign the values received from the user. (1 pt) // (iv) display outputs on the screen as the sample. (1 pt) I/ update code public class Calculate { public int doMath(int x, int y) { return (X-y):) 3 public class CalculateApp! public static void maino ( W update cose Calculate cal= new Calculate(): upoate code For the toolbar, press ALT+F10 (PC) or ALT+FN-F10 (Mac). BI S Paragraph Arial 14px : Click Save and submit to save and submit. Click Save All Answers to save all answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
