Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Temperature Conversion Using Visual Logic Procedures


  • Please log in to reply

#1
LiiLii

LiiLii

    New Member

  • Member
  • Pip
  • 1 posts
Description
In the Modular Programming and Visual Logic Procedures Lesson, we learned to divide a problem into simpler and smaller sub-problems, tackle and solve each separately by creating/defining a procedure. Then call the procedure for each sub-problem in the proper order to solve the entire problem. The strategy of divide and conquer makes solving a complex problem much easier because once divided, we can be more focus on each sub-problem and less chance to overlook anything while doing it.
For this homework, a Visual Logic flowchart for the temperature conversion problem without using any Procedure is attached to get you started. Just right click on the attachment, save it onto your own computer, then open Visual Logic to open the saved file.
If you have gone through the Lesson on Modular Programming and Visual Logic Procedures, you would have already have at least one procedure put in place to the Temperature Conversion Problem. in addition to the Get_Input Procedure, complete what the Lesson has started by creating two more Procedures:

Conversion - This procedure will accept a By Value parameter (the degree in Fahrenheit) and return the converted degree in Celsius through a By Reference parameter.
Show_Celsius - This procedure will accept a By Value parameter (the degree in Celsius) and display it in the console Window.

Then, add three calling statements in the Main Procedure to solve the entire problem of temperature conversion.

Edited by LiiLii, 31 March 2012 - 12:23 PM.

  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP