6
Answers

C# - methods - How to Create a console-based program?

lovlly bersbe

lovlly bersbe

10y
1.1k
1
How to Create a console-based program whose Main() method
holds two integer variables. Assign values to the variables.
Within the class, create two methods, Sum() and
Difference(), that compute the sum of and difference
between the values of the two variables, respectively. Each
method should perform the computation and display
the results. In turn, call each of the two methods from
Main(), passing the values of the two integer variables.?
Answers (6)