Display a year-by-year depreciation schedule

Assignment Help C/C++ Programming
Reference no: EM13699565

Depreciation to a Salvage Value of 0. For tax purposes an item may be depreciated over aperiod of several years, n. With the straight-line method of depreciation, each year the item depreciates by 1/nth of its original value. With the double-declining-balance method of depreciation, each year the item depreciates by 2/nths of its value at the beginning of that year. (In the last year, it is depreciated by its value at the beginning of the year.) Write a program that performs the following tasks:

(a) Requests a description of the item, the year of purchase, the cost of the item, the number of years to be depreciated (estimated life), and the method of depreciation. The method of depreciation should be chosen by clicking one of two buttons.

(b) Display a year-by-year depreciation schedule for the item similar to the schedule shown below.

GUI SCREEN:

• Create GUI screen interface that accepts input and shows output.
• Resize the GUI screen & the list box to best fit the output displayed (ie: no scroll bars).
• Title the form as "YourLastName'sDepreciation to a Salvage Value of 0".
• Use descriptive controls names (ie: lblCost, txtYears, lstDepreciation).
• Use a text box to input data.
• Use a list box to output the results.
• Use Courier New font to help with the output alignment.

PROGRAM
• Rename the VB form as "frmDepreciation.vb" in the Solution Explorer.
• Use descriptive variables names.
• Add in additional comments throughout to help in explanation purpose of the program.
• Add and modifly the following program comments under the Public Class and before first sub.

Reference no: EM13699565

Questions Cloud

What is the sum of the forces on all three charges : Three point charges are arranged in a horizontal line as shown below. Find the electric force on Q1 given the following: Q1 = -4 mC, Q2 = -5 mC, Q3 = 3 mC, r1 = 80 m, and r2 = 160 m. What is the sum of the forces on all three charges
How high does sue observe it to travel : Three students have been studying relative motion and decide to do an experiment to demonstrate their knowledge. If Fred throws the ball at this angle, how high does Sue observe it to travel above the level at which it was thrown
What is the potential difference across the plates now : A parallel-plate capacitor has plates, each with an area of 4.0 cm2, that are separated by a distance of 0.35 mm. What is the potential difference across the plates now
Identify the primary and secondary variables : Identify the primary and secondary variables and construct the weak form of the nonlinear equation
Display a year-by-year depreciation schedule : Create GUI screen interface that accepts input and shows output and resize the GUI screen & the list box to best fit the output displayed
Probability that a randomly selected passener : Find the probability that a randomly selected passenger has a waiting time less than 0.75 minutes.
Develop a time delay procedure : Develop a time delay procedure for the 2.0 GHz Pentium 4 that waits for 80s.
Modify the circuit of figure by rewriting the pld program : Modify the circuit of Figure by rewriting the PLD program to address memory in locations A0000H-BFFFFH for the ROM
How information systems enhance companys business process : Provide background information on the company selected for the project, including the website link, financial information (annual sales and profits for the last three years), stock exchange information (if applicable), etc - Describe how informati..

Reviews

Write a Review

 

C/C++ Programming Questions & Answers

  How to compile your program

how to compile your program (including the actual compile command) and how to run it (including command line arguments, if any) A description of your solution to these two problems, including what you did to solve the problem, and why you did it that..

  Write a program that convert fahrenheit to degrees celsius

Write a program that will convert Degrees Fahrenheit to Degrees Celsius.

  Write a function sum3darray

Write a function sum3DArray. This function will take a three dimensional array of ints and add all the entries in the three dimensional array. Assume columns and rank are two constants already defined.

  Positive integer value, and computes

Write a function in c++ that reads a positive integer value, and computes

  Task 1 write compile and run the following two programs

task 1 write compile and run the following two programs using cc programming method. select the appropriate defined

  Is the code properly commented

Does each case in a switch statement terminate with a break? Is there a default case?

  20 integers saved in a file called "data.txt"

There are 20 integers saved in a file called "data.txt" (just a random txt file with some numbers) All integers are in the range from 1 to 10

  Gcd between two positive integer numbers

Write a C++ code for calculating the GCD (Greatest Common Divisor) between two positive integer numbers. You  should  use Euclid's  original  subtraction  based  GCD algorithm ( not  using  modulo operator). You should write a function following t..

  Is a void function a function that does not return a value?

Is a void function a function that does not return a value?

  Write a program that will calculate the percentage

Write a program that will calculate the percentage wins of a team. The program will input the number of wins and losses that a team acquired during a season. The wins should be input in a parameter-less value returning function that returns the wi..

  Write a program to analyze students course marks

Write a program to analyze students course marks. The program should read in students course marks from "m2-grading.txt". The data file has a headline including students ID#, course-1marks, course-2 marks and course-3 markes.

  Write a program that allows users to enter a dollar amount

Write a program that allows users to enter a dollar amount for their bank account balance at the beginning of the month. Then ask the user to enter a dollar amount for any number of checks written in a month, up to 50. Include an approriate sentinel ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd