0

Fill in the blanks to declare a method that has two int parameters with default values 6 and 8, respectively, and displays their

Fill in the blanks to declare a method that has two int parameters with default values 6 and 8, respectively, and displays their product to the screen. Call the method in Main using named arguments. static void Test(int x 6, int y= ) { Console.WriteLine(x*y); } static void Main(string[] args) { Test(x:7, 11); }

18th Jul 2023, 9:39 AM
dhatchanamoorthy m
dhatchanamoorthy m - avatar
1 ответ
+ 3
It is unclear, where the blanks are. Read the lesson again, show what you have tried so far. Put your code in a script on sololearn playground instead of pasting it into the description.
18th Jul 2023, 9:44 AM
Lisa
Lisa - avatar