#!/bin/basha=0sum=0while truedo let a++ if [ $a -le 100 ] && [ `expr $a % 2` -eq 0 ] then if [ $a -eq 100 ] then break fi else let sum=sum+a fidoneecho $sum