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

  Give examples of pretest and posttest loops

Give examples of pretest and posttest loops - Discuss the syntax of while, for, and do...while loops. Give examples.

  Ansi-c program which allows the user to play a game

Your task is to write an ANSI-C program which allows the user to play a game. This will require I/O from both the user and from ?les.

  Which of the following are valid case statements in a switch

What will following segment of code output? int x = 5; if (x != 2)      System,out.println( "This is true!"); else      System.out.println( "This is false!");      System.out.println("This is all folks!");

  Linked listsnbspalong with vectors linked lists are one of

linked listsnbspalong with vectors linked lists are one of the fundamental data structures in computer science. unlike

  Program that reads in the average monthly

Write a program that reads in the average monthly rainfall for a city for each month of the year and then reads in the actual monthly rainfall for each of the previous 12 months. The program then prints out a nicely formatted table showing the rainfa..

  Give students practice in writing and calling their function

To give students practice in writing and calling their own functions. To give students practice in implementing and planning complex programs.

  Use a for loop to generate 100 random numbers.

Use a For Loop to generate 100 random numbers. Determine the most current maximum and minimum number as the random numbers are being generated. This is referred tp as a "running" maximum and minimum. Display the running maximum and minimum values as ..

  Write a program that calculates the average rainfall

Write a program that asks the user to enter five floating-point numbers. The program should create a file and save all five numbers to the file.

  C++ programs that compute the agreement for two vectors

In this assignment, you write C++ programs that compute the agreement for two given vectors (see Calculation 1 above). In these programs, in vectors A and B only nonzero elements (elements that are 1) are stored. We give you a function that gen..

  Write a program that reads in an integer

Write a program that prompts the user for a measurement in meters, and then converts it in to miles, feet, and inches.

  Function declare that it can throw an ioexception

Every C++ function that performs file I/O will thus need to either declare that it can throw an IOException, or contain a try-catch-finally block to deal with it. Response?

  C programme to find the minimum and maximum value

write a c programme to find the minimum and maximum value each elements in each row ,to create table b,having 5 rows and 2 coloums,the first coloum of table b is the maximumvalue and thye second coloum is the maximum value in each row.

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