Level 3 - Condition controlled repetitions 0 of 9 activities solved
  1. Capital city Not yet solved
  2. Car value Not yet solved
  3. Adder Not yet solved
  4. Compound interest Not yet solved
  5. Valid month Not yet solved
  6. Cashpoint Not yet solved
  7. Square root Not yet solved
  8. PIN Not yet solved
  9. Measurements Not yet solved
Next series Assessment point - Levels 1-3
Level 3 - Condition controlled repetitions

Compound interest

Sign in to hand in your solution and get feedback.

// Compound interest program using System; class Submission { // ------------------------- // Subprograms // ------------------------- // Calculate compound interest static void compound(int balance, double interest_rate, int target_balance) { Console.WriteLine($"Year: {year}: Balance: £{balance}"); } // ------------------------- // Main program // ------------------------- public static void Main(string[] args) { compound(balance, interest_rate, target_balance); } }