....

May 14, 2023

Subtraction Operators Simple Programme in JavaScript

Subtraction Operators Simple Programme


let a = 9;
// Define variable a initialize value

let b = 5;
// Define variable b initialize value

console.log(a - b);
// Using subtract operators 9 - 5

Output


4

Tags:

by : Nehal Akhtar

Quick Summary:

Subtraction Operators Simple Programme copy let a = 9; // Define variable a initialize value let b = 5; // Define variable b initialize value console.log(a – b); // Using subtract operators 9 – 5 Output 4