/* REXX program to greet the user */ /* Ask for the user's name */ say "What is your name?" pull name /* Greet the user by name */ say "Hello, " name "!" /* REXX program to add two numbers */ /* Ask the user for the first number */ say "Enter the first number:" pull num1 /* Ask the user for the second number */ say "Enter the second number:" pull num2 /* Calculate the sum of the two numbers */ sum = num1 + num2 /* Display the sum to the user */ say "The sum of " num1 " and " num2 " is " sum