Don't use scanf(), it will screw up the program. <IT IS DANGEROUS> sine it steps into the ROM often.:o