Jump to content

Need help for home work!please

- - - - -

  • Please log in to reply
2 replies to this topic

#1
jowett0526

jowett0526

    Newbie

  • Members
  • Pip
  • 1 posts
At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase by 2% each year for the next 5 years. Design a program with a loop that displays the projected semesters tuition amount for the next five years.

1. //Declare Variables
2. Declare Real tuitionIncereas, semesters, count.
3. Constant Real TUITION=6000
4. //Assign values
5. //1% tuition increase per semester
6. set tuitionIncrease = 1.01
7. //15 semesters in 5 years
8. set semesters =15
9. Display "The tuition will increase 2% per year"
10. For count = 1 To semesters step 3
11. TUTION = TUTION*tutionIncrease
12. Display "semester", count. Tab, TUTION
13. End For

#2
Alexander

Alexander

    It's Science!

  • Moderators
  • 4,118 posts
  • Location:Vancouver, Eh! Cleverness: 200
Generally one would post on a forum to discuss or ask for help, you appear to be doing neither. Are you stuck on a certain part of this assignment and need help? What do you have so far and what language is it in?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.

#3
isuru

isuru

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 233 posts
Well. In what language you need to write the program? And try to get start like declaring variables. And we help ya. If you need to learn specific language try to read tutorials section.
Lost!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users