Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Please Help! This is a class assignment given to me.

by Anonymous Monk
on Dec 06, 2019 at 21:13 UTC ( [id://11109777]=note: print w/replies, xml ) Need Help??


in reply to Please Help! This is a class assignment given to me.

The teacher needs to know if you can think and solve problems. If you can think, the teacher also needs to know how you think. If you can't think we have jobs for you that don't involve computers.

Start by translating the problem into Perl, then do the math:

#!/usr/bin/perl use strict; use warnings; my $sold = 10; my $cost = 250; my $price = 300; my $discount = 0.10; # your code here

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11109777]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (8)
As of 2024-04-24 09:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found