Ask Question

What does the label display when the user clicks the button? void btnSubmit_Click (object sender, EventArgs e) { int num1 = 3; int num2 = 2; int num3; num3 = myProc (num1) + myProc (num2); lblResult. Text = Convert. ToString (num3); } int myProc (int numPar) { return numPar + numPar; }

+4
Answers (1)
  1. 26 October, 22:46
    0
    10

    Explanation:

    num1=3 and num2=2

    num3=myproc (num1) + myproc (num2)

    myproc (num1) results 6

    myproc (num2) results 4

    when we add both e get 10
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What does the label display when the user clicks the button? void btnSubmit_Click (object sender, EventArgs e) { int num1 = 3; int num2 = ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers