College Program Assignment (Program with classes)

已完成 已发布的 Jul 4, 2001 货到付款
已完成 货到付款

Imagine a publishing company that markets both book and audiocassette versions of its works. Create a class Publication (base class) that sotres the title (a string) and price (type float) of a publication. Drom this class derive two classes: Book, which adds a page count (type int); and Tape, which adds playing time in minutes (type float). Each of these three classes should have a getData() function to get its data from the user at the keyboard, ad a putData() function to display its data. Write a main() program to test the Book and Tape classes by creating instances of them, asking the user to fill in data with getData(), and then display the results with putData.

## Deliverables

The file for the main() program must have a header that contains the following information. Program Title, Date, Details:Input(what input is required for this segment to accomplish its task and the input data types and variable names.) Output(What output does this code segment produce and the output data types and variable names) Intermediate variables (used for holding or computing intermediate results, intermediate data types and variable names) Global Variables (Global data types and varable names or None) Design: A description of the algorithm(s) or logic used in the design of the program. Steps used to create the program solution. (Include any neccessary explanations to understand the program)

## Deadline information

This program must be completed by july 8th because it is due for class on July 9th.

C 编程 工程 MySQL PHP 软件构架 软件测试

项目ID: #2823625

关于项目

5个方案 远程项目 活跃的Jul 4, 2001

授予:

vw129744vw

See private message.

$22.5 USD 在14天内
(10条评论)
3.0

有5名威客正在参与此工作的竞标,均价$36/小时

wiltonmarranzini

See private message.

$42.5 USD 在14天内
(5条评论)
3.4
mo42speep

See private message.

$22.53 USD 在14天内
(3条评论)
0.8
deadangel

See private message.

$42.5 USD 在14天内
(0条评论)
0.0
SPhillipps

See private message.

$51 USD 在14天内
(0条评论)
0.0