Introduction to Programming Using Visual Basic (10th Edition)
Introduction to Programming Using Visual Basic (10th Edition)
10th Edition
ISBN: 9780134542782
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 (10th 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 (10th Edition), Chapter 5.1, Problem 1E , additional homework tip  2

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

Blurred answer
Students have asked these similar questions
Question Completion Status: QUESTION 20 1 a) Convert the following flow-chart into algorithm or pseudo-code. Begin Set i=1 Display " # True End False Receive s Display s+ "entered to end." S == i from user Click Save and Submit to save and submit. Click Save All Answers to save all answers.
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.
LAB ASSIGNMENTS IMPORTANT: you should complete the PDP thinking process for each program. Turn in items: 1) fullname_regex.py - Ask the user to enter the source text to search, such as the name_source variable here: name_source=input('Enter full name in this format - first middle last'). Then, you can adapt the first two code lines from lesson slide 13, to search this new source. Edit the code to match the new situation and change the regex pattern to identify text that could be a full name. Hints: Initially write your regex pattern to check if the user enters three words separated by a space. Then, strive to make the regex adaptable if the person's full name has more than or less than 3 words. Then, think about allowing!!! (not requiring) common characters like a period, hyphen or '. Slides 11-13 should be helpful. For printing, end with a conditional block that provides an appropriate message if there is a match or not. Match No Match Challenge 1 Enter your full name: first middle…

Chapter 5 Solutions

Introduction to Programming Using Visual Basic (10th 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