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

Control statements, CONTROL STATEMENTS   The conditional expression us...

CONTROL STATEMENTS   The conditional expression uses a comparison operator that results in true or false value. If the comparison is valid the outcome is true, or else the out

Create a calculator application, Create a VB calculator application that ap...

Create a VB calculator application that appears as in the screen shots below. The user enters numbers in the textboxes labelled Number 1 and Number 2. When a calculati

Program to order a product from inventory, Write a program that permits the...

Write a program that permits the user to order a product from inventory. The user selects the product and enters the quantity. If there is sufficient quantity on hand of the produc

C#, i want to print number following pattern 1 12 123 1234

i want to print number following pattern 1 12 123 1234

Odbc, ODBC   The ODBC gives an API which distinguishes the data base v...

ODBC   The ODBC gives an API which distinguishes the data base vendors implementation via the ODBC drivers specific to a DBMS. The program will use the API to call the ODBC dr

Adding handlers with class wizard, Adding Handlers With Class Wizard: ...

Adding Handlers With Class Wizard: Whenever a handler is added, the class wizard places the prototype for the message handler in the header (.H) file. It gives a skeleton hand

Mfc classes, THE MFC CLASSES The CDocument, CWinAppCFrameWnd and CView ...

THE MFC CLASSES The CDocument, CWinAppCFrameWnd and CView are derived from the CObject and they give the majority of the structure and functionality.

Explain dtd elements and dtd attributes, Problem 1. Describe the concep...

Problem 1. Describe the concept of exception in .Net environment 2. Explain the process of adding, updating and deleting records with an example 3. Explain DTD elements a

Tab order - dialog, Tab Order: The tab order stands for the order in w...

Tab Order: The tab order stands for the order in which the controls receive focus when the user clicks the tab key. The CTRL + D can be used to set the tab order of controls.

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