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
Coding conventions are recommended that may help you write code via Microsoft Visual Basic Scripting Edition. Coding conventions can include the given: Naming conventions for ob


You are given a console program in both VB and C# that uses a class CElevator (ElevatorAppAssign). The main modules are in the assign directory class files. Below is a discus

ARCHITECTURE OF WIN 32 PROGRAM   Figure: working of Win 3 program The hardware events in the figure are the mouse associated events like the mouse move, left

Data types: The New data types were defined by using the typedef or #define statements. This was to allow the transition from 16 bit to 32 bit system. Some of the fresh data t

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

INTRODUCTION TO VB: The Windows programming is an event driven programming. The VB uses the Hungarian Notation for naming the variables. It deals with new data types like HWND,

GDI OBJECTS   The CDC provides 5 versions for the GDI objects. They are fonts, brushes, pens, bitmaps and regions. The Select Object function substitutes the current GDI objec

Scenario GetLoan is a new company that will provide a loan of money to individual members of the public.   There are two types of loan to be offered: Secured Loan wher

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