JSFiddle - React, Tailwind, and code Playground

JavaScript

let input = ['0 15 30 45'];


let print = this.print || console.log;
let gets = this.gets || ((arr, index) => () => arr[index++])(input, 0);


let inputOne = gets().split(' ').map(Number);


  inputOne.forEach(function (inputOne) {
    
    console.log(inputOne * 9/5 + 32);
  });