icp/oer/courses/example-course/sections/01-introduction/02-c-add/execute.sh

9 lines
124 B
Bash
Raw Normal View History

2018-05-05 22:18:02 +00:00
#!/bin/bash
for (( i = 0; i < 1; i++ )); do
a=$(( ( RANDOM % 9 ) + 1))
b=$(( ( RANDOM % 9 ) + 1))
./program $a $b
done