compint - balance=balance+interest; format bank disp(['New...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
balance=input('enter bank balance: '); rate=input('enter interest rate: '); interest=rate*balance;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: balance=balance+interest; format bank disp(['New balance is: ', num2str(balance)]);...
View Full Document

This note was uploaded on 09/15/2011 for the course EE 150 at USC.

Ask a homework question - tutors are online