A Function That Greets
Easy · Functions & Arguments · Functions · Positional parameters
Problem
Define a function greet that prints Hello, ! using its first argument, then call it with World and with Ada.
Approaches
- Function with $1
Related problems
Start free on Cariara · Coding problems · System design studio