Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
3. Create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until...Asked by Matt
In pseodocode, create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. Pass both values to a method that displays the amount you must save per month to achieve your goal.
Answers
Answered by
Steve
read amount, months;
show_deposit(amount,months);
function show_deposit(amount,months) {
deposit = amount/months;
print deposit;
}
show_deposit(amount,months);
function show_deposit(amount,months) {
deposit = amount/months;
print deposit;
}
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.