computing future tuition

Discussion in 'C++' started by jeanlouis.magannig, Aug 9, 2010.

  1. jeanlouis.magannig

    jeanlouis.magannig New Member

    Joined:
    Aug 9, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    Suppose that the tuition for a university is 10,000 this year and
    increases 5% every year. Write a program that uses a loop to compute the tuition in ten years.
    Write another program that computes the total cost of four years’ worth of tuition starting ten
    years from now.
     
  2. jeanlouis.magannig

    jeanlouis.magannig New Member

    Joined:
    Aug 9, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    0
    write a program that prompts the user to enter the number of
    students and each student’s name and score, and finally displays the student with the highest
    score and the student with the second-highest score.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice