At one college, the tuition for a full-time student is $6,000 per semester. It h
ID: 3646435 • Letter: A
Question
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 percent each year for the next five years. Design a program with a loop that displays the projected semester tuition amount for the next five years.So far i am having a hard time fiuring out what i need to do. I tried using RAPTOR, but with no luck. I want to know if what i have so far is good? and if someone can please help me figure this out.
//Declare Variables
Declare Real tuition increase, semesters, count
Constant Real TUITION=6000
//Assign Values
tuitionincrease=2
semesters=10//10 semesters in 5 years
Display "The tuition will increase 2% per year"
Im really lost... I have no idea if this if even close or right.
Any help would be GREATLY appreciated!!
Explanation / Answer
What language? here's java: public static void main(String[] args){ double tuition = 6000; double rate = .02; System.out.println("The tuition is $" + tuition); System.out.println("The tuition will increase " + rate*100 + "% per year"); for(int i=0; iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.