Ask Question
20 March, 16:54

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; }

+1
Answers (1)
  1. 20 March, 18:03
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers