Може ли помощ?
function
convertlnchesToCentimeters(input)
{
let inches = Number (input[0]);
let centimeters = Number(input[1]);
let convertCentimeters = inches * 2.54
console.log(convertCentimeters);
}
function
convertlnchesToCentimeters(input)
{
let inches = Number (input[0]);
let centimeters = Number(input[1]);
let convertCentimeters = inches * 2.54
console.log(convertCentimeters);
}
Gives 100% in judge, maybe check your spacing/formatting?
function convertlnchesToCentimeters(input){
let inches = Number (input[0]);
let centimeters = Number(input[1]);
let convertCentimeters = inches * 2.54
console.log(convertCentimeters);
}
;-)