In this tutorials will teach how to make a calculator in Node Js using Arrow Function step by step.
const main =(operator,num1,num2) => { if(operator == "+") { const data = add(num1,num2); console.log(data) } else if(operator == "-") { const data = subtract(num1,num2); console.log(data) } else if(operator == "*") { const data = multiply(num1,num2); console.log(data) } else if(operator == "/") { const data = divi(num1, num2); console.log(data) } else { console.log("There is Problem") } }; const add = (num1,num2) => { return num1 + num2; } const subtract = (num1,num2) => { return num1 - num2; } const multiply = (num1,num2) => { return num1 * num2; } const divi = (num1,num2) => { return num1 / num2; } main("+", 2,6); main("-", 8,6); main("*", 2,4); main("/", 6,2);
In this tutorial will teach Laravel 11 Api MVC with Repository Pattern Crud Application step…
In this tutorial will teach Laravel 11 CRUD Application step by step. Laravel 11 CRUD…
in this tutorials we will be talk about how to make a times table in…
In this tutorials will teach How to add two numbers in Laravel 10. (more…)
In this tutorial, we will teach the process of building a full-stack application using Node.js,…
In this tutorial, we will explin you through the process of building a Hospital Management…