Programming | | IFTHENELSE Control Structure Problems (1 - 2):
Directions: For each of the following two problems you must create a system flowchart and program flowchart. Make sure you use correct structure design and you are neat when designing these flowcharts. Then you must translate these design steps by using the Visual Basic program to code each of these programs. Both of the written problems will describe and show what the input and output will be. Once you start coding the program make sure your flower boxes are complete with written purpose and correct structure; Make sure that each of the input and output prompt messages have labels, that the program has correct logic, internal documention, and is free of errors. Print each of the two programs, and turn in with your designed flowcharts in the correct order (a Grade Sheet must be attached to the front when you submit your work).

Directions Virtual: Virtual No Printing just upload the assignment files to Canvas Programming Module 2. You will NOT need to print out any documents or the grade sheet rather submit this assignment in the Canvas drop box.

Video Review of the Assignment:


Set the Stage - The below programs will show you what the Form looks like and some of the code. Each program will have a IF THEN ELSE structure to it. Please follow the addition instructions below for completions:

Addition requirements:
1. A Flowchart will have to be written for each problems.
2. Make sure your application programs has a Exit and Clear buttons with your Name is on the form somewhere.
3. Change the properties of the Form to a different color.
4. Change the properties of the Output Textbox to a Read only.
5. Make sure you have supported the Flowerbox in the Code.
6. Make sure you have supported the Internal Comments in the code at each Privative Sub structure.

Flowerbox template:
  [ Flower Box ]

Download Data file needed with submission:
  IFTHENELSE Control Structure Problems (1 - 2) Students can use the following download to place the screen shots to the Flowcharts, Visual Basic Form and Code on this word document. Please note that the above link will open up a Word document that will be needed to be used to submit this assignment. Re-save the Word document as IFTHENELSE 1-2 with your first and last name.

IFTHENELSE Problem 1: Write a program to prepare a Tuition Bill. The Input will contain the student’s name, Social Security number, and total number of credits for which the student has enrolled. The output will contain student’s Name, Social Security number, the computed Tuition and whether the student is Full Time or Part Time student. Total credits of 10 or more indicate the student is Full Time. Full time students pay a flat rate of $1000.00 for tuition. Total credits of less than 10 indicate that the student is part time. Part-time students pay $100.00 per credit for tuition (You will have to multiply Number of Credits by 100). Save as: IFTHENELSE 1.

Please review the links below to help you with the flowchart and programing this problem:
Here is the correct working Flowchart that you will have to re-create and produces with some addition instructions and format of the working program:
Click here to view flowchart: Flowchart 1

Here is the Program Form that you will review and need to re-create:
Click here to view the Form: Form


You will need to follow the above flowchart when writing the IF..THEN.. ELSE structure of the code. Understand the last line of code will be the Output text box and have assisted in giving you that code. Click here to view the example of how the txtOutput.Text should be written: Calculate Button (only)

Use the following information when desk checking the program during run time. Try to present a screen shot for both Desk Check when turning this assignment in.

Desk Check #1
Desk Check #2
Input
Student’s Name ======== >Your Name
Social Security Number == >125-43-5372
Number of Credits == >7

Output
**********************************
*   Student’s Name: Your Name
*   Social Security Number: 125-43-5372
*   Tuition: 700
*   Full or Part Time: Part Time
**********************************

Input
Student’s Name ======== >Your Name
Social Security Number == >125-43-5372
Number of Credits == >15

Output
**********************************
*   Student’s Name: Your Name
*   Social Security Number: 125-43-5372
*   Tuition: 1000
*   Full or Part Time: Full Time
**********************************


IFTHENELSE Problem 2: Write a program to prepare a Monthly Bank Statement. Input will contain the Customer’s name, Account number, Old Balance, Total Monthly Deposit amount, and Total Monthly Withdrawal amount. The output will contain the Customer's Name, New Balance and a Message. The New Balance is computed by adding the total monthly deposit amount to the old balance, and subtracting the total monthly withdrawal amount from the old balance. If the new balance is less than $100.00, then a $5.00 service fee will be subtracted from the new balance to determine the real new balance. Save as: IFTHENELSE 2

Please review the links below to help you with the flowchart and programing this problem:
Here is the Program Form that you will review and need to re-create:
Click here to view Flowchart: Flowchart 2

Here is the Program Form that you will have to re-create and produces:
Click here to view the Form: Form


You will need to follow the above flowchart when writing the IF..THEN.. ELSE structure of the code. Understand the last line of code will be the Output text box. Very similar to IF1 you will take the same steps to produce the output in the textbox.

Use the following information when desk checking the program during run time. Try to present a screen shot for both Desk Check when turning this assignment in.

Desk Check #1
Desk Check #2
Input
Customer’s Name ========>
Your Account Number ====> 948571
Balance ===============> 1000
Total Amount Withdrawn ==> 50
Total Amount Deposited ===> 100

Output
******************************
*   Customer’s Name
*   Your New Balance is:$1050.00
*   Thank you for Banking with us!
******************************

Input
Customer’s Name ========>
Your Account Number ====> 948571
Balance ===============> 1000
Total Amount Withdrawn ==> 1002
Total Amount Deposited ===> 100

Output
*****************************
*   Customer’s Name
*   Your New Balance is: $93.00
*   We took out a $5 service fee. Thank you for Banking with us!
*****************************


Once done please turn in both programs together in the following order:
Grade Sheet for review.
Program IFTHENELSE - Form (two screen shots), Code, Flowchart
Program IFTHENELSE - Form (two screen shots), Code, Flowchart

Virtual: - Upload all the following file: IFTHENELSE Control Structure (1-2) to Canvas CIS Module 3 drop box. Note this Word file should have screen shots of Problem 1 and 2. Please note, that you will need to re-save this file as a pdf file before uploading.

Download Data file needed with submission:
  IFTHENELSE Control Structure Problems (1 - 2) Students can use the following download to place the screen shots to the Flowcharts, Visual Basic Form and Code on this word document. Please note that the above link will open up a Word document that will be needed to be used to submit this assignment. Re-save the Word document as IFTHENELSE 1-2 with your first and last name.