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

Source property, Returns or sets the name of the object or application whic...

Returns or sets the name of the object or application which generated the error originally. The Source property indicates a string expression which is usually the class name or pro

Events, everything about events

everything about events

Naming restrictions, For naming anything variable names follow the standard...

For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh

Need help on macros in visual basic, I have an excel list with a lot's of s...

I have an excel list with a lot's of serial numbers that have been entered by hand from PDFs online (1-5 serial numbers per PDF). Many of the values are duplicates, wrong, or conta

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.

Project, I have a project due tomorrow that I am really struggling in. Plea...

I have a project due tomorrow that I am really struggling in. Please help.

Imagelist, IMAGELIST The CImageList object is a collection of the same ...

IMAGELIST The CImageList object is a collection of the same sized images, all of which can be referred to by its index. The ImageList are used to proficiently manage the large

Messages - visual basic programming, MESSAGES The Windows-based applica...

MESSAGES The Windows-based applications do not make explicit function calls to acquire input. They wait for the system to pass the input to them. The system passes input to the

Check whether a number is palindrome or not, Function IsPalindrome(str) ...

Function IsPalindrome(str) Dim iStart,iEnd,ctr,blnPalin str=trim(str) blnPalin=true iEnd=len(str) iCnt=round(iEnd / 2) iStart=1 for ctr=1 to cint(iCnt) if(mid(str,iEnd,

Variant type - visual basic, Variant Type: If no data type is related ...

Variant Type: If no data type is related with the VB variables, it takes the default variant type. The variable x will be of the variant type when the two declarations below 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