Help for this page

Select Code to Download


  1. or download this
    my $A = 250; # Pizza price
    my $B = 300; # Selling price
    my $C = $B - $A; # Difference
    print "A = $A \n B = $B \n C = $C \n";
    
  2. or download this
    my $cost_price  = 250;
    my $sale_price  = 300;
    my $profit      = $sale_price - $cost_price;
    
    print "Make them for $cost_price\nSell them for $sale_price\nMake $pro
    +fit on each\n";