Tin

Examples · learn/09-closures · 154 of 339

task-1.solution

examples/learn/09-closures/task-1.solution.tintin run examples/learn/09-closures/task-1.solution.tin
fn main() {
  let temps = [12.0, 19.5, 23.0, 31.5, 8.0]
  let fahrenheit = temps.map((c) => c * 9 / 5 + 32)
  print(fahrenheit)
}