CS 116 Visual Basic

I am having a problem I need to Rewrite the program so input, processing, and output are each performed by calls to Sub procedures.

Private Sub btnCompute_Click(...) Handles btnCompute.Click
‘Information about trees
Dim num As Integer = 7

  1. 👍 0
  2. 👎 0
  3. 👁 110

Respond to this Question

First Name

Your Response

Similar Questions

  1. intro to computer programming

    Write a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount. Your program should use a

  2. C++

    // Program: name of program // Author: your name // Date Written: date you began writing the program /* Abstract: Brief description of the program */ Include in-line comments in the body of your program. You can convert

  3. Physics

    15 At a particular location and time, sunlight is measured on a 1 m2 solar collector with an intensity of 500.0 W. If the peak intensity of this sunlight has a wavelength of 5.60 x 10-7 m, (a) What is the frequency of this light?

  4. Technology

    Can you pleas check my answers? 1. Which of the following is a list of input devices? A. printer, mouse, speakers (answer) B. RAM, monitor, printer C. microphone, mouse, scanner D. CPU, monitor operation system 2. Which type of

  1. Programming

    The raptor program displays the grade for each test score and the average of all four test scores. Use a loop to input four test scores. Validate the input. The test scores must be between 0 and 100.

  2. computer science

    Class scores: Write a program that calculates the total grade for N classroom exercises as a percentage. The user should input the value for N followed by each of the N scores and totals. Calculate the overall percentage (sum of

  3. computer programming

    Draw a flowchart to solve this problem.A program to ask user to input 100 marks.Calculate the average marks.Then,display the average value.

  4. computer science

    write a program that prompts the user to input three numbers. The program should then output the numbers in nondescending order.

  1. Algebra

    Remember to show all of the steps that you use to solve the problem. Use the comments field to explain your work. A survey about the student government program at a school finds the following results: 190 students like the program

  2. computer science

    write a program that calculates a customer's monthly bill. it should input customer name, which package the customer has purchased, and how many hours were used. it should then create a bill that includes the input informtion and

  3. java

    Write a java application that finds the smallest of several integers. Prompt the user for the number of integers that will be input, then prompt the user for that number of integers. Evaluate the integers to determine the smallest

  4. Computer (Programming with Python)

    Problem 1: Multiplication Drill Computers can perform calculations extremely quickly and accurately, but it's often handy to calculate with the computers we carry around inside our heads. Write a program to drill you in

You can view more similar questions or ask a new question.