#!/bin/csh

# Skript suma
set n = $argv[1]
set i = 1
set sum = 0
while ($i <= $n)
  @ sum += $i
  @ i++
end
echo 'Soucet je '$sum
