Create a visual basic windows application to calculate the


Objectives

At the end of this lab you should be able to:

- Program with variables.

- Write conditional if/else statement(s).

- Write program statements with loops.

write Visual Basic statements using loops

Pre-Lab

i. Read the description of each activity carefully and thoroughly so that you understand what the problem is about i.e. what are the requirements and possible solutions for the given problem.

ii. Once you understand each activity requirement(s), then try to do a few examples on paper as to ascertain what your application output may be.

Activity 1: Sum of Series

Create a Visual Basic Windows application to calculate the following series. The value of is to be entered by the user.

 1 + 1/2 + 1/3 + 1/4 + 1/5 +.......+ 1/n

Validation required:

- n should be whole number less than 100

- n is a positive number and must not be equal to 0.

- Add other validation that may be required by your application.

Activity 2: Sum of Numbers with conditions

Create a Visual Basic Windows application that calculates the sum of all numbers between 1 and 100 that are divisible by 5 or 6 but not both.

Activity 3: Do While Loop

Create a Visual Basic Windows application that uses a Do While loop.

The Do While loop should stop when the value of the variable intNumStudents becomes greater than the value of cintClassCount.

Activity 4: Do Until Loop

Same problem as Activity 3 but use a Do Until loop instead of a Do While loop.

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: Create a visual basic windows application to calculate the
Reference No:- TGS01002055

Expected delivery within 24 Hours