Question: _______________ would be a heading for a method that could be used to Display a line of hypens (-)on the screen. This method might be

_______________ would be a heading for a method that could be used to Display a line of hypens (-)on the screen. This method might be invoked multiple times so that the hypens could be used as separators as part of your final output. Be sure to include the keyword static as part of your answer so that Blackboard is able to assess it properly. The method should be named DisplayResults.

Intellisense shows the signature for your method: static double DoSomething(int, double) Assuming you had variables answer and value1 of double type, which had 0 and 25.8712 stored in their cells respectively (answer holds 0, value1 holds 25.8712). If you wanted to send 100 as the first argument to the method and the current contents of value1 as the second argument and have the method return some calculated value back to the memory location answer in Main( ) _______________ would invoke or call your method.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!