Professional Documents
Culture Documents
Exercise 2
Exercise 2
Exercise 2
Question 1
Write a VB.NET program that computes the sum, average and standard deviation of all the numbers
input by the user.
Question 2
Write a program that computes the sum of all the positive numbers input by the user.
Question 3
The cross section of a built-up I beam is shown in Figure 1. Write a program to calculate the total weight
of steel for constructing beams of all combinations of flange thickness and depth of web given below (42
combinations in total):
Flange thicknesses in mm. (same for top and bottom): 8, 10, 12, 14, 16, 18, 20.
wtf
Variables:
ttf
wtf - width of top flange