Find your Dad factor
> Just in case there is the remotest chance of anybody caring here is a prototype
of a script to find your dadness.
Kept me quiet during wet lunchtime anyway.
#!/bin/sh
Child=100;
Grandchild=50;
GreatGrandchild=25;
Beard=30;
echo "Hello, But are you a Dad if so find out your Dadness";
echo - "Enter ChildCount (1,2 etc) ";
read ChildCount
echo - "Enter GrandChildCount (1,2 etc) ";
read GrandChildCount
echo - "Enter GreatGrandChildCount (1,2 etc) ";
read GreatGrandChildCount
echo - "Do you have Have Beard (1,0)";
read BeardCount
Dadness=$((( ( ($Child*$ChildCount)+($Grandchild*$GrandChildCount) )+(
($GreatGrandchild*$GreatGrandChildCount) )+( ($Beard*$BeardCount) ) )));
echo - "Your Dadness is: "$Dadness;
Kept me quiet during wet lunchtime anyway.
/ Adam