Sharda LMS

Discover → Learn → Practice → Assess → Record

javascript

JavaScript: add two fees

Add 40 and 20 and log the total with console.log. Classroom JavaScript is console-only — no files, network or host APIs.

Student code never runs against the production database or filesystem. A classroom interpreter grades it.

Public examples

  • Input:

    Output: 60

Login as a student to save attempts and scores.

Output will appear here.