Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
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