KISHOR 1988
Coder
JavaScript:
function monitorCount(rows, columns) {
return rows * columns;
}
function costOfMonitors() {
return monitorCount(rows, columns) * 2000
}
monitorCount(5, 7)
console.log(costOfMonitors());
THOUGH I HAVE PASSED ARGUMENT FOR ROWS AND COLUMNS , WHY AM I NOT GETTING VALUE IN CONSOLE?
Last edited by a moderator: