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

Chapter 5 Solutions

Introduction To Programming Using Visual Basic (11th Edition)

Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education