B4Coder

🏛️ College Admission (Form Logic) · Mission 5 of 6

🏠 Hostel and Fees

Tick 'I need a hostel room' and a Room type field should appear. Then work out the year's fee.

Your mission

  1. showRoom = form.hostel: the Room type field shows only when it's true.
  2. fee = the course's fee: B.Sc Computer Science 60000, B.Com 45000, B.A English 40000.
  3. If form.hostel: add the room: Shared 30000, Single 45000. Then ok = true and message = "Total fee: ₹" + fee.

Getting the mission ready…