JS Logo

Largest Number Among Three Numbers

// program to find the largest among three numbers // take input from the user const num1 = parseFloat(prompt(“Enter first number: “)); const num2 = parseFloat(prompt(“Enter second number: “)); const num3 = parseFloat(prompt(“Enter…

Read more
JS Logo

Javascript Programe to check number is odd or even

Even numbers are those numbers that are exactly divisible by 2. The remainder operator % gives the remainder when used with a number. For example, const number = 6; const result = number % 4; // 2…

Read more

JavaScript Check number is odd or even

Even numbers are those numbers that are exactly divisible by 2. The remainder operator % gives the remainder when used with a number. For example, const number = 6; const result = number % 4; // 2…

Read more
python logo

Javascript Program to Print the value of qaudratic eqaution

This program computes roots of a quadratic equation when its coefficients are known. The standard form of a quadratic equation is: ax2 + bx + c = 0, where a, b and c…

Read more