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.

1 answer

read amount, months;
show_deposit(amount,months);

function show_deposit(amount,months) {
deposit = amount/months;
print deposit;
}