Introduction To Programming Using Visual Basic (11th Edition)
Introduction To Programming Using Visual Basic (11th Edition)
11th Edition
ISBN: 9780135416037
Author: David I. Schneider
Publisher: PEARSON
Question
Book Icon
Chapter 5.1, Problem 1E
Program Plan Intro

Program Plan

1. Below mentioned variables are used:

  • txtbox- Text box where the text and character is displayed.
  • btnConvert- Button which invokes the procedure for converting celsius to Fahrenheit when it is clicked

2. Below Mentioned functions are used:

  • btnConvert_Click()-Procedure for conversion. Called when the Convert button is clicked.
  • CtoF()- Coversion function for celsius to fahrenheit.

Program description:

This Program is for conversion of celsius value 15 to Fahrenheit value when the button for conversion is clicked. Create a new project and in Form1 insert a new text box from toolbox. Change the Name of textbox as txtOutput in Design property of Properties window as shown in Figure below.

Introduction To Programming Using Visual Basic (11th Edition), Chapter 5.1, Problem 1E , additional homework tip  1

Insert a button from toolbox and change its name property as btnConvert and Text property as Convert as shown below.

Introduction To Programming Using Visual Basic (11th Edition), Chapter 5.1, Problem 1E , additional homework tip  2

Introduction To Programming Using Visual Basic (11th Edition), Chapter 5.1, Problem 1E , additional homework tip  3

Blurred answer
Students have asked these similar questions
Flow chart and peseudocode of Get the name of the student A. If the student is regular, get his/her section. Then display his/her name and section B. If the student is irregular, get his/her course. Then display his/her name and course.
VB Small Project 16 – Function   Pattern this Visual Basic program after Small Project 15:   Main() Create the random number in the same way.   EvenOrOdd Function() Pass that number into this function, where it will be found to be either Even or Odd.  Return a value indicating which one that will be used back in Main.   DisplayResults Sub The result from the EvenOrOdd Function is passed into this Sub and the same results as from SP 15 will be printed.
Microsoft Visual Basic Studio Programming1. Change the CalcDiscount procedure to a function.2. Make the necessary modifications to the bntCalc_Click procedure.

Chapter 5 Solutions

Introduction To Programming Using Visual Basic (11th Edition)

Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr