Student help, by students, for students.


    Ch 6 Projects

    Share

    Donovan
    Admin

    Posts : 4
    Join date : 2009-10-05
    Age : 24
    Location : Swansea

    Ch 6 Projects

    Post  Donovan on Mon Oct 05, 2009 9:58 am

    You must do 2 out of 3 of these projects located on page 108.

    Project 6.3
    Write a program that asks the user for two floating point numbers, the program should multiply the numbers together and print the product to the screen. Next, ask the user how many digits to display to the right of the decimal point and print the product again with the new precision.

    Project 6.4
    Write a program that takes in the name, opening value, closing value, and number of shares owned for a stock. have the program print the stock name, opening value, closing value, and amount of value the stock gained or lost in a formatted line.

    Project 6.5
    A photoshop frames pictures as part of its business. All frames are one inch wide. the shop charges 25 cents for one inch of frame and 10 cents for each square inch of matting material (the inside of the frame). Write a program that takes the length and width of the picture as input and calculates the cost of framing the picture.

      Current date/time is Wed Dec 13, 2017 7:53 pm