#!/usr/bin/perl -wuse strict;print "please enter a number: ";chomp(my $number = );my $result = 0;if ($number != 0) { $result = 100 / $number;}print "the result is: $result\n";