For loop visual basic program, Visual Basic Programming

Assignment Help:

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"


Related Discussions:- For loop visual basic program

Visual processing - visual interface design, Visual Processing: Our mi...

Visual Processing: Our mind groups the things into patterns and this allows us to process the visual information. Understanding and applying how the human mind processes the v

Dynamic link library - database applications, DYNAMIC LINK LIBRARY   T...

DYNAMIC LINK LIBRARY   The dynamic link library (dll) permits one copy of a function to be shared among some parallel executing programs. The dll is a file that contains a num

Message routing - visual basic, Message Routing: The system posts the ...

Message Routing: The system posts the messages to a first-in, first-out queue known as the message queue or it sends the messages directly to a window procedure. The Messages

Object naming conventions, The following table lists suggested conventions ...

The following table lists suggested conventions for objects you might encounter while programming VBScript. Code Commenting Conventions All process should begin with a brie

Indexing - visual basic, Indexing: In libraries, the card catalog is t...

Indexing: In libraries, the card catalog is the index. The three indices are used in the library. The Author, Subject and title are the 3 indices. Each index is relative. The

John Galt requests a program to double-check his Gas Bill, John''s gas supp...

John''s gas supply is read from a 4-digit meter each month that shows the current total gas used in cubic meters. The amount of gas used that month is determined by subtracting t

Fixed length strings, Fixed length strings: The Fixed length strings ar...

Fixed length strings: The Fixed length strings are declared by identifying the size of the string. For illustration to give a length of 20 for the string place, the declarati

If then else - control statement, If Then Else: The control statement ...

If Then Else: The control statement If Then Else is used for computing a condition and taking the action based on the condition. If the condition is true then the section will

Creation of the menu in visual basic, Creation of the Menu in VB 1. Ini...

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

What is the method of creating a new project in vb.sss, Visual Basic 1....

Visual Basic 1. What is the method of creating a new project in VB.SSS 2. Illustrate Code Editor Window and Solution Explorer. 3. Write a VB program to sort and display a

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd