Programming Tasks:
1. Write a program that will determine if one or both textboxes for username and
password contains empty string. If username or/and password is/are empty then it will
display a message that username and password is required. Otherwise, it will determine
if it correct or incorrect.
2. Write a program implementing Select Case statement that evaluates a character either a
vowel or a consonant.
3. Write a program implementing While loop statement, any Do loops statement, any For
loops statement that display your Name, School, Course and Year level 10 times with
the use of message box.
*** Make SCREENSHOTS of the forms you used in 1-3 and then copy all the CODES.
Screenshots should be taken during PROGRAM RUNTIME.
Programming Tasks: Apply all the things you have learned in this module. All program
should detect events like click on the buttons and keypress to detect inputs.
Task 1: Design and develop a program that will accept inputs like Name, Course and
Year Level. These inputs will be displayed in a message box after a button is clicked.
Task 2: Design and develop a program that will compute the take home amount for the
loanable amount of the customer. For example, if the customer’s loanable amount is
100,000.00 and has a 3% per annum interest. The company will deduct the interest for 5
years which is (15,000.00) to the loanable amount, so, the take home amount of the
customer is 85,000.00. Your program allows the user to input loanable amount and how
many years for the customer to pay the loan. Set the interest per annum to 3%.
Programming Tasks:
1. Write a program that will determine if one or both textboxes for username and
password contains empty string. If username or/and password is/are empty then it will
display a message that username and password is required. Otherwise, it will determine
if it correct or incorrect.
2. Write a program implementing Select Case statement that evaluates a character either a
vowel or a consonant.
3. Write a program implementing While loop statement, any Do loops statement, any For
loops statement that display your Name, School, Course and Year level 10 times with
the use of message box.
Construct and implement Sub procedure and Function procedure for the following
problems:
1. Computation of the gross salary, tax deductions, total deductions and net salary of the
employee based on the following specifications. If employee is the manager, his or her
salary is 45,000. If the employee is regular or permanent his/her salary is 25,000 and
if the employee is contract of service, his/her salary is 15,000. If the employee’s gross
salary is 20,000 and above, then his /her gross salary is taxable to 2%. Otherwise, no
tax is deducted. Assume the monthly deductions for Philhealth=500.00, SSS=1000.00,
Pag-Ibig=1000.00 and monthly contribution=500.00. To compute for the total
deductions, add Philhealth, SSS, Pag-ibig, monthly contribution and the tax
deduction. To get the net salary, gross salary minus total deductions.
2. Determine the minimum and maximum numbers of 3 numbers.
Design and develop a program that will accept Name and Total Units enrolled
to compute and display the tuition fees, miscellaneous fees and the total assessment of
a student.
To compute for Tuition Fees, multiply Total Units Enrolled and Payment per
Unit which is set to 250.
To compute for Miscellaneous Fees, add library fee, laboratory fee,
accreditation fee, student welfare fund, institutional development fund,
outreach and management fee which are set to 750.00, 1000.00, 250.00, 150.00,
200.00, 100.00 and 500.00 respectively.
To compute for the Total Assessment, add Tuition Fees and Miscellaneous
Fees.
Write a circle class with a private data member that is the radius (r) of the circle, and a parameterized
constructor that sets the value of the radius (r). In addition, the class includes common methods, such as
calculating the circumference of a circle, calculating the area of a circle, and getting the radius of a circle.
Enter the radius of the circle in the console to calculate and show the circumference and area of the circle.
(Note: Programming Problem 4 draws directly on Chapter 6, Programming Project 1, page 285.)
Nutritional Associates of New Jersey stresses to their patients the effects of caffeine on the body. After caffeine is absorbed into the body, 13% is eliminated from the body each hour. Assume a person drinks an 8-ounce cup of brewed coffee containing 130 mg of caffeine, and the caffeine is absorbed immediately into the body. See Figure 6.77 in the Visual Basic text, and write a program to compute the following values:
Suppose the person drinks a cup of coffee at 7:00 a.m. and then drinks a cup of coffee at the end of each hour until 7:00 a.m. the next day. How much caffeine will be in the body at the end of the 24 hours?
Develop a system that allows 20 characters and produce number of vowels
Exercise
25. Create an application that calculates a customer's water bill for the Canton Water Department. The user will enter the current meter reading and the previous meter reading. The application should calculate and display the number of gallons of water used and the total charge for the water. The charge for water is $1.75 per 1000 gallons, or 0.00175 per gallon. However, there is a minimum charge of $19.50. In other words, every customer must pay at least $19.50. Display the total charge with a dollar sign and two decimal places. Use the following names for the solution and project, respectively: Canton Solution and Canton Project. Save the solution in the VbReloaded2015\Chap04 folder. Change the form file's name to Main Form.vb. Create the interface and then code the application. Save the solution and then start and test the application. Close the solution. (1-4)
Will try to send the pictures that go with this. This is the 2nd part of my question.
Lab6: Canton Water Department
Lab6 requires you to create the following:
Your lab needs to include the following:
I will send the rest in another question