VB/C#

Need Help in Visual Basic and C# Assignments?
We can help you if you are having difficulty with your Visual Basic Assignment. Just email your assignments at support@assignmentcache.com.
We provide help for students all over the world.

Items 31 to 40 of 181 total

per page
Page:
  1. 2
  2. 3
  3. 4
  4. 5
  5. 6

Grid  List 

Set Ascending Direction
  1. MS Visual Basic 2010 Diane Zak Chapter 10 Case Project Vita Credit

    MS Visual Basic 2010 Diane Zak Chapter 10 Case Project Vita Credit

    Regular Price: $12.00

    Special Price: $10.00

    MS Visual Basic 2010 Diane Zak Chapter 10 Case Project Vita Credit


    VITA CREDIT Each credit card number issued by Vita Credit contains five digits. The last digit is determined by multiplying the second and fourth digits by two and then adding the products to the first and third digits. The last digit in the sum is then appended to the first four digits. Create an application that allows the credit manager to enter four digits. The application should calculate the fifth digit and then display the card number.
    First four digits 1 3 5 7
    STEP 1: CALC *2 *2 1 6 5 14
    STEP 2: ADD 1 + 6 + 5+ 14 = 26
    STEP 3: DISPLY 135726

    Learn More
  2. Visual Basic 2010 How to Program Deitel Credit Checker Application

    Visual Basic 2010 How to Program Deitel Credit Checker Application

    Regular Price: $12.00

    Special Price: $10.00

    Visual Basic 2010 How to Program Deitel Credit Checker Application


    4.12 (Credit Checker Application) Develop an application (as shown in Fig. 4.24) that determines whether a department-store customer has exceeded the credit limit on a charge account. Each customer enters an account number (an Integer), a balance at the beginning of the month (a Double), the total of all items charged this month (a Double), the total of all credits applied to the customer's account this month (a Double), and the customer's allowed credit limit (a Double). The application should input each of these facts, calculate the new balance (= beginning balance – credits + charges), display the new balance and determine whether the new balance exceeds the customer's credit limit. You can use the format "{0:C}" with String method Format, to format the result as currency (see Fig. 4.24). If the customer's credit limit is exceeded, display a message (in messageLabel at the bottom of the Form) informing the customer of this fact; otherwise, display the customer's remaining credit amount. If the user presses the Clear Fields Button, the application should clear the TextBoxes and Labels. [Note: In the next chapter, we'll introduce the data type Decimal for financial calculations.]

    Learn More
  3. Microsoft Visual Basic 2010 Shelly Cashman Series Chapter 6 Case Problem 5 Distance Travelled Calculator

    Microsoft Visual Basic 2010 Shelly Cashman Series Chapter 6 Case Problem 5 Distance Travelled Calculator

    Regular Price: $12.00

    Special Price: $10.00

    Microsoft Visual Basic 2010 Shelly Cashman Series Chapter 6 Case Problem 5 Distance Travelled Calculator


    Design a Windows application and write the code that will execute according to the program requirements shown in Figure 6-132. Before writing the codes, create an event planning document for each event in the program. Create a use Case Definition document for the application.


    Requirements Document
    Application title: Vacation Distance Calculator Windows Application
    Purpose: This application computes the number of miles travelled given the speed limit and the number of days travelled driving cross country.


    Program Procedure: In a Windows Application, the user enters the speed limit and the number of days you plan to travel cross country. You will enter the number of hours you will like to drive each of the days based on places you plan to visit as you drive and other factors. For example, the first day you plan to drive only 4 hours because you are driving after work. The application displays the distance that you are able to travel for the entire trip based on the speed limit and the hours driven.


    Algorithms, Processing, and Conditions:
    1. The application opens displaying a title. The user enters the speed limit and the number of days you plan to drive.
    2. The user clicks the Distance button to request the number of hours you plan to drive each day. The result of the total number of miles you plan to drive over the entire trip will be displayed.
    3. A File menu contains a Clear and an Exit option. The Clear item clears the result and the entered number of miles per hour and time traveled. The Exit menu item closes the application.


    Notes and Restrictions:
    1. Non-numeric values should not be accepted.
    2. The user of hours for one day of travel should not exceed 20 hours.


    Comments:
    1. The application allows decimal entries.

    Learn More
  4. Microsoft Visual Basic 2010 Shelly Cashman Series Chapter 6 Case Problem 6 Pay Calculator

    Microsoft Visual Basic 2010 Shelly Cashman Series Chapter 6 Case Problem 6 Pay Calculator

    Regular Price: $12.00

    Special Price: $10.00

    Microsoft Visual Basic 2010 Shelly Cashman Series Chapter 6 Case Problem 6 Pay Calculator


    Design a Windows application and write the code that will execute according to the program requirements shown in Figure 6-133. Before writing the code, create an event planning document for each event in the program. Create a Use Case Definition document for the application.


    Requirements Document
    Date submitted: August 23,2014
    Application title: The Next Decade Pay Calculator
    Purpose: This Windows application computes the amount of money an employee earns over the next decade based on a raise,which is a percentage amount.


    Program Procedures: In a Windows application,the user enters the present wage per hour and the raise percentage amount per year to compute the yearly pay over the next 10 years.


    Algorithms, Processing, and Conditions:
    1. The application opens displaying a title and requesting the amount of present pay per hour and the expected raise percentage per year.
    2. When the Calculate Pay button is clicked,the program calculates the yearly pay based on 40 hours per week and 52 weeks per year. The raise increases each amount after the first year.
    3. The yearly amount of pay earned is displayed for the next 10 years.
    4. A File menu contains a Clear and an Exit option. The Clear menu item clears the result. The Exit menu item closes the application.


    Notes and Restrictions:
    1. Non-numeric values should not be accepted.
    2. Negative numbers should not be allowed.


    Comments:
    1. The application allows decimal entries.
    2. Must be in VB 2010

    Learn More
  5. Displays List of Projects

    CS program To Display List of Projects Underway

    Regular Price: $10.00

    Special Price: $8.00

    CS program To Display List of Projects Underway


    Create a class called Projects that will include the attributes of the types of projects underway in the company. Include at least five PROPERTIES. They should be Project Name, Start Date, Project Manager, Plant Location, Total Project Budget.


    Add a subclass of your choice that inherits from the Projects class and describes a subgroup of projects. For example, you may define the subclass as IT Projects. In that case, you may define the subclass with additional properties of Programming Language, Machine Type (PC, Mac, Android, iPhone) and Program Purpose.. Define at least three PROPERTIES that are specific to the subclass you choose..


    Design, implement, test, and debug a C# program that asks the user to enter PROPERTIES for members of the subclass on a single form. The entries will include fields for the PROPERTIES of the main Projects class as well as the subclass. Include a second form that will display a cumulative list of all the project data that the user has entered.

    Learn More
  6. Calculate Garage Parking Charges

    Calculate Garage Parking Charges C# Program

    Regular Price: $10.00

    Special Price: $8.00

    Calculate Garage Parking Charges C# Program


    A parking garage charges a $2.00 minimum fee to park for up to three hours and an additional $0.50 per hour for each hour or part thereof over three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Write a program that will calculate and print the parking charges for each of three customers who parked their cars in this garage yesterday. You should enter the hours parked for each customer.


    Your program should print the results in a neat tabular format, and should calculate and print the total of yesterday's receipts. The program should use the
    function calculateCharges to determine the charge for each customer.


    Your outputs should appear in the following format:
    Car Hours Charge
    1 1.5 2.00
    2 4.0 2.50
    3 24.0 10.00
    TOTAL 29.5 14.50

    Learn More
  7. Reverse Name Solution

    Reverse Name VB 2010 Project

    Regular Price: $10.00

    Special Price: $8.00

    Reverse Name VB 2010 Project


    Open the Reverse Name Solution (Reverse Name Solution.sln) file contained in the VbReloaded2010\Chap10\Reverse Name Solution folder. the interface provides a text box for entering a persons first name followed by a space and the persons last name. Code the Reverse Name button’s Click event procedure to display the name as follows: the last name followed by a comma, a space, and the first name. Save the solution, and then start and test the application. Close the solution

    Learn More
  8. POS 408 week 2 Tropical Fish Store

    POS 408 Week 2 Tropical Fish Store

    Regular Price: $10.00

    Special Price: $8.00

    POS 408 Week 2 Tropical Fish Store


    You are the owner of a tropical fish store. Write the program in VB.Net (not Web based) to accept the height, length and width of the tank that a customer might order (in inches). Include a button that when clicked, will display the volume of the tank (height x length x width) and the number of gallons on water it will hold (volume / 231). Make sure to label the results. Insert comments to document the program.
    Include appropriate labels and a title for the tool.

    Learn More
  9. CIS247A Week 5 Inheritance Generic Employee Object

    CIS247A Week 5 Lab Composition Inheritance and Polymorphism

    Regular Price: $15.00

    Special Price: $12.00

    CIS247A Lab 5 Composition Inheritance and Polymorphism


    Scenario and Summary
    The objective of the lab is to take the UML Class diagram and enhance last week’s Employee class by making the following changes:
    1. Create a derived class called Salaried that is derived from Employee.
    2. Create a derived class called Hourly that is derived from Employee.
    3. Create generalized input methods that accept any type of Employee or derived Employee object
    4. Create generalized output methods that accept any type of Employee or derived Employee object
    5. Override the base class CalculatePay method
    6. Override one of the base class CalculateWeeklyPay methods


    STEP 1: Understand the UML Diagram
    Analyze and understand the object UML diagram, which models the structure of the program.
    • There are two new Employee derived classes (1) Salaried and (2) Hourly that are derived from the Employee class.
    • The Employee class contains a new attribute employeeType and a new constructor that accepts as an argument the assigned employee type.
    • Both the Salaried and the Hourly classes override only the CalculateWeeklyPay method of the Employee class (note, this is the method without any parameters.)
    • The Salaried class has one attribute “managementLevel” that has possible values from MIN_MANAGEMENT_LEVEL to MAX_MANAGEMENT_LEVEL and a BONUS_PERCENT.
    • The Salaried class has a default constructor and parameterized constructor that accepts all the general employee information plus the management level.
    • The Hourly has a wage attribute, which respresents the hourly wage that ranges from MIN_WAGE to MAX_WAGE, a hours attributes, which represents the number of hours worked in a week that ranges from MIN_HOURS to MAX_Hours, and a category attributes that accepts string values.
    • The Hourly class has a default constructor and parameterized constructor that accepts all the general employee information plus the hours and wage value.
    • The Presentation Tier contains two new classes (1) The EmployeeInput class and the EmployeeOutput class
    • The EmployeeInput class contains three static methods (1) CollectEmployeeInformation, which accepts any type of Employee object as a argument; (2) CollectHourlyInformation, which accepts only Hourly objects as an argument, and (3) CollectSalariedInformation, which accepts only Salaried objects as an argument.
    • The EmployeeOutput class contains two methods (1) DisplayEmployeeInformation, which accepts any Employee type as an argument and (2) DisplayNumberObjects method.
    • All the access specifers for the Employee attributes are changed to protected and are depicted with the “#” symbol.


    STEP 2: Create the Project
    You will want to use the Week 4 project as the starting point for the lab. Use the directions from the previous weeks labs to create the project and the folders.
    1. Create a new project named “CIS247_WK4_Lab_LASTNAME”. An empty project will then be created.
    2. Delete the default Program.cs file that is created.
    3. Add the Logic Tier, Presentation Tier, and Utilities folders to your proejct
    4. Add the Week 4 project files to the appropraties folders.
    5. Update the program information in the ApplicationUtilities.DisplayApplicationInformation method to reflect your name, current lab, and program description
    Note: as an alternative you can open up the Week 4 project and make modifications to the existing project. Remember, there is a copy of your project in the zip file you submitted for grading.
    Before attempting this week’s steps ensure that the Week 4 project is error free.


    STEP 3: Modify the Employee Class
    1. Change the access specifier for all the private attributes to protected.
    2. Add the new attribute employeeType, along with a “read only” property (that is only a “get” method) to access the employee type value.
    3. Add a new constructor that only accepts the type attribute, which is then used to set the employeeType value. Also, this constructor should initialize all the default values. You can call the default constructor using the syntax: public Employee(string employeeType) : this() { }
    4. Modify the parameterized constructor that accepts the employee information to accept the employee type, and then set the employeeType with this value.
    5. Modify the ToString Method to include the employee type.


    STEP 4: Create the Salaried Class
    1. Using the UML Diagrams, create the Salaried class, ensuring to specify that the Salary class inherits from the Employee class.
    2. For each of the constructors listed in the Salaried class ensure to invoke the appropriate super class constructor and pass the correct arguments to the super class constructor.
    3. Override the CalculateWeeklyPay method to add a 10 percent bonus to the annualSalary depending on the management level. The bonus percent is a fixed 10 percent, and should be implemented as a constant. However, depending on the management level the actual bonus percentage fluctuates (i.e., actualBonusPercentage = managementLevel * BONUS_PERCENT).
    4. Override the ToString method to add the management level to the employee information.


    STEP 5: Create the Hourly Class
    1. Using the UML Diagrams, create the Hourly classes, ensuring to specify that the Hourly class inherits from the Employee class.
    2. For each of the constructors listed in the Hourly class ensure to invoke the appropriate super class constructor and pass the correct arguments to the super class constructor. Notice, that the Hourly employee DOES NOT have an annual salary, which we will then have to calculate (see below).
    3. Create a Category property (get/set) and the valid category types are “temporary”, “part time”, “full time”.
    4. Create a Hours property (get/set) for the hours attributes and validate the input using the constants shown in the UML diagram, but since an Hourly employee does not have a formal annual salary we will need to calculate this each time the hour (and wage) properties are set. Add the following code after the validation code in the hours property: base.AnnualSalary = CalculateWeeklyPay() * 48; (assumes working 48 weeks a year).
    5. Create an Wage property (get/set) for the wage attributes and validate the input using the constants shown in the UML diagram. Add the following code after the validation code in the wage property: base.AnnualSalary = CalculateWeeklyPay() * 48; (assumes working 48 weeks a year)
    6. Override the CalculateWeeklyPay method by multiplying the wages by the number of hours.
    7. Update the ToString method to add the category, hours, and wages to the hourly employee information.


    STEP 6: Create the EmployeeInput Class
    1. Create a new class in the Presentation Tier folder called “EmployeeInput”
    2. Create a static void method called CollectEmployeeInformation that has a single Employee parameter. The declaration should look something like the following:
    public static void CollectEmployeeInformation(Employee theEmployee)
    3. Write code statements similiar to what you created in the Week 4 project to collect the generic employee information from the user, except instead of using specific employee objects use the “theEmployee” parameters. For example:
    In Week 4, you had something like:
    employee1.FirstName = InputUtilities.GetStringInputValue(“First name”);
    In the CollectionEmployeeInformation method this can be translated to the following;
    theEmployee.FirstName = InputUtilities.GetStringInputValue(“First name”);
    4. Write statements to collect all the generic employee information, including the Benefits information, as you did in the Week 4 project. However, since not all derived types have a AnnualSalary value, DO NOT collect the annual salary data.
    5. Create a new static void method called CollectEmployeeInformation that accepts an Hourly employee object. Using the InputUtilities methods write statements to collect the wage and hours from the user.
    6. Create a new static void method called CollectSalariedInformation that accepts a Salaried employee object. Using the InputUtilties methods write statements to collect the management level and the annual salary.


    STEP 7: Create the Main Program
    1. Create an array of type Employee that will hold three employee objects. Create three new objects, one Employee, one Hourly and one Salaried in positions 0, 1 and 2 of the array respectively. Make sure to use the constructors the accept the employee type and provide appropriate values for the employee type (e.g. “Generic”, “Hourly”, “Salaried”).
    2. Using a FOR loop iterate through the array and collect all the generic employee information, using the EmployeeInput.CollectEmployeeInformation method.
    3. If the current item in the array is an Hourly object, then use the EmployeeInput.CollectHourlyInformation method to collect the hourly information.
    4. If the current item in the array is a Salaried object, then use the EmployeeInput.CollectSalariedInformation method to collect the salaried information.
    Use the following if statement to determine the specific type of object:
    if (employeeList[i] is Hourly)
    EmployeeInput.CollectHourlyInformation((Hourly)employeeList[i]);
    else if (employeeList[i] is Salaried)
    EmployeeInput.CollectSalariedInformation((Salaried)employeeList[i]);
    5. After the information has been collected display the employee information using the EmployeeOutput.DisplayEmployeeInformation method.
    6. Before terminating the program display the number of employee objects that have been created.


    STEP 8: Compile and Test
    When done, compile and run your program.
    Then debug any errors until your code is error-free.
    Check your output to ensure that you have the desired output and modify your code as necessary and rebuild.
    The output of your program should resemble the following:


    On-screen output display:
    Welcome the Employee Hierarchy Program
    CIS247, Week 5 Lab
    Name: Solution


    This program tests an Employee inheritance hierarchy
    *********************** Display Employee’s Data **********************
    Employee Type GENERIC
    First Name John
    Last Name Student
    Gender Male
    Dependents 3
    Annual Salary $20,000.00
    Weekly Pay $384
    Health Insurance Blue Cross
    Life Insurance $20,000
    Vacation 21
    *********************** Display Employee’s Data **********************
    Employee Type Hourly
    First Name Mary
    Last Name Noia
    Dependents 4
    Annual Salary $100,000
    Weekly Pay $2,080.00
    Health Insurance Blue Cross
    Life Insurance $175,000
    Vacation 24
    Hours 40
    Wage 52
    Category Full Time
    *********************** Display Employee’s Data **********************
    Employee Type Salaried
    First Name Sue
    Last Name Smith
    Gender Female
    Dependents 2
    Annual Salary $100,000.00
    Weekly Pay $2,500.00
    Health Insurance Blue Cross
    Life Insurance $300,000
    Vacation 15
    Level 3
    total Number of Employess in Database: 3

    Learn More
  10. CIS247A Week 6 Lab Abstract Classes Hourly Employee

    CIS247A Week 6 Lab Abstract Classes

    Regular Price: $15.00

    Special Price: $12.00

    CIS247A Week 6 Lab Abstract Classes


    Scenario and Summary
    The objective of the lab is to take the UML Class diagram and enhance last week's Employee class by making the following changes:
    1. Convert the Employee class to an abstract class
    2. Add an abstract method called CalculateNetPay to the Employee class
    3. In both the Salaried and Hourly classes implement the CalculateNetPay method


    STEP 1: Understand the UML Diagram
    Analyse and understand the object UML diagram, which models the structure of the program.
    • The Employee class has been specified as abstract, which is denoted by the name of the class being initialized Employee
    • The Employee class as a new method CalculateNetPay which is an abstract method, denoted by the italized name of the method. Since this method is an abstract method the CalculateNetPay method WILL NOT have an implementation in the Employee class.
    • The Salaried and Hourly classes both have a new method CalculateNetPay that is inherited from the abstract Employee class and the Salaried and Hourly class both MUST implement the CalculateNetPay method.


    STEP 2: Create the Project
    You will want to use the Week 5 project as the starting point for the lab. Use the directions from the previous weeks labs to create the project and the folders.
    1. Create a new project named "CIS247_WK4_Lab_LASTNAME". An empty project will then be created.
    2. Delete the default Program.cs file that is created.
    3. Add the Logic Tier, Presentation Tier, and Utilities folders to your project
    4. Add the Week 5 project files to the appropriates folders.
    5. Update the program information in the ApplicationUtilities.DisplayApplicationInformation method to reflect your name, current lab, and program description.
    Note: as an alternative you can open up the Week 5 project and make modifications to the existing project. Remember, there is a copy of your project in the zip file you submitted for grading.
    Before attempting this week's steps ensure that the Week 5 project is error free.


    STEP 3: Modify the Employee Class
    1. Modify the class declaration of the Employee class to specify that the Employee class is an abstract class
    2. Declare an abstract method called CalculateNetPay that returns a double value.
    3. Modify the ToString Method to include the weekly net pay in currency format.


    STEP 4: Modify the Salaried Class
    1. Add a double constant called TAX_RATE and set the value to .73
    2. Implement the CalculateNetPay method by multiplying the weekly pay by the tax rate.


    STEP 5: Modify the Hourly Class
    1. Add a double constant called TAX_RATE and set the value to .82
    2. Implement the CalculateNetPay method by multiplying the weekly pay by the tax rate.


    STEP 6: Create the Main Program
    1. Change the employeeList array to only hold two objects.
    2. Create one Hourly employee object and store it in the array.
    3. Create one Salaried employee object and store it in the array.
    4. As you did in the Week 5 lab, prompt for and collect the information for each of the objects.
    Note: iterating through the array should not require any changes from the previous iteration of the project--but make sure that the loop stays within the bounds of the array.


    STEP 7: Compile and Test
    When done, compile and run your program.
    Then debug any errors until your code is error-free.
    Check your output to ensure that you have the desired output and modify your code as necessary and rebuild.


    The output of your program should resemble the following:

    Learn More

Items 31 to 40 of 181 total

per page
Page:
  1. 2
  2. 3
  3. 4
  4. 5
  5. 6

Grid  List 

Set Ascending Direction