What are the main inadequacies of the Bohr's model?
Product of Array Items
Testcase1 :Sample Input 1
[1, 2, 3]
Sample Output 1
1 * 2 * 3 = 6
Testcase2 :Sample Input 2
[-1, -2, -3]
Sample Output 2
-1 * -2 * -3 = -6
note : it must satisfy any input given with different cases
"use strict";
process.stdin.resume();
process.stdin.setEncoding("utf-8");
let inputString = "";
let currentLine = 0;
process.stdin.on("data", (inputStdin) => {
inputString += inputStdin;
});
process.stdin.on("end", (_) => {
inputString = inputString
.trim()
.split("\n")
.map((str) => str.trim());
main(); });
function readLine() {
return inputString[currentLine++]; }
function main() {
let integers = JSON.parse(readLine());
/* Write your code here
A bowl contains 6 blue balls, 8 red balls, 6 white balls, and 10 yellow balls. What is the probability of picking a yellow ball?
Rubbing alcohol, C3H7OH(l) is sold as a 73.8 % v/v solution for external use only. What volume of pure C3H7OH(l) is present in a 487 mL bottle? Express your answer to the nearest whole number.
If f(x,y) = x^3 + 4xy^2 + y^3, show that f(ax, ay)= a^3 f(x,y).
If f(x) =10^x and Φ(x) =log10 x, show that f[Φ(x)] = Φ [f(x)] = x.
If f(x)= x^2 -1 and g (x) =2x +1, show that f[g(x)]=4x(x+1).
If f(x) = sin x, show that f (2x)= 2f(x) f(1/2 π-x).
If P(x) =√x, show that P(x+h) - P(x) = h(√x+h + √x).
If Φ (r)= 2^r, show that Φ (r+1) =2 Φ(r).