Algorithms & Data Structures Question

1. Write an algorithm to determine the area of a triangle given base
and height as input. Write the area to output.
2. Write an algorithm that computes the interest earned in 1 year given
the starting account balance “balance” and the annual interest rate
“interest” and assuming simple interest, that is, no compounding. Also
determine the final balance at the end of the year. Write the final
balance to output and the interest earned.

Don't use plagiarized sources. Get Your Custom Essay on
Algorithms & Data Structures Question
Just from $13/Page
Order Essay

and taste our undisputed quality.