For loop visual basic program, Visual Basic Programming

Write Visual Basic programs for the following:

1.     Write a program that uses a "For Loop" to generate a list of temperature conversions in one degree increments from a given low to a specified high temperature. Use two option buttons to determine whether temperature is converted from Fahrenheit to Celsius or from Celsius to Fahrenheit. (Refer to Assignment 1 for oF > oC conversion formulae and vice versa). Have your program display the results in a list box. Your form should look similar to the one shown below:

438_conversion.png

2.     Write a program which displays a trigonometry table similar to the one shown below. When writing the program, please note the following:

  • Make use of VB's Math methods. (see Math Table as an example)
  • Display Degrees, Sine, Cosine and Tangent values for 0 to 360 degrees, accurate to 12 places of decimal. Since the Cosine, Sine and Tangent functions use radians, convert degrees to radians as follows: Radians = Degrees * MATH.PI / 180.
  • Deal with 90 and 270 degrees by displaying the tangent value as "infinity".

1199_trignomatric table.png

3.      Write a program for textbook question  "Falling Distance"

Posted Date: 2/26/2013 6:58:17 AM | Location : United States







Related Discussions:- For loop visual basic program, Assignment Help, Ask Question on For loop visual basic program, Get Answer, Expert's Help, For loop visual basic program Discussions

Write discussion on For loop visual basic program
Your posts are moderated
Related Questions
To run only one statement while a condition is True, employ the single-line syntax for the If...Then...Else statement. The following instance shows the single-line syntax. Notice t

Assigning Values to Variables Values are assigned to variables creating an expression as follows: the variable is on the left side of the expression & the value you desire to a

translate''Q''for insert into element and''Q''delete for deletion element into programming language

Task 1 - Design the DATEX operator's user interfaces for: 1. Preparing messages. 2. Sending messages. 3. Viewing received messages. 4. Optionally view the details of the codin

THE PRECOMPILED HEADER FILE As soon as you generate a blank project, ahead of doing any coding you compile the project to generate .pch (that is the pre compiled header) file a

MESSAGE LOOP   The message loop is the code in the Win 32 based application. It retrieves messages from the application's message queue and passes these to the related window

What are the differences between Property Get, Set and Let? Set - Value assigned to ActiveX Object from the form. Let - Value retried to ActiveX Object from the form. Get- Assigns

Creation of the Menu in VB 1. Initiate a new project by choosing a file and then new project. 2. Now select the Standard EXE as the Project type. 3. Build the Form1 activ

steps of connecting database from vb6.0

DATA CONTROL The data control is used to connect to the database. Three properties are very necessary to connect to the database. The primary property is the database name. You