1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
lesantik [10]
3 years ago
11

Pp 2.10 write an application that determines the value of the coins in a jar and prints the total in dollars and cents. read int

eger values that represent the number of quarters, dimes, nickels, and pennies.
Mathematics
1 answer:
Blizzard [7]3 years ago
6 0

5 CLS : PRINT

10 PRINT "Hi !"  

15 PRINT "Please type the number of quarters, dimes, nickels, and pennies in the jar."

20 PRINT "Type commas between the numbers."

30 INPUT Q, D, N, P

40 JAR = 25*Q  +  10*D  +  5*N  +  P

50 DLRS = INT(0.01*JAR) : CNTS = JAR - 100*DLRS

60 PRINT "The value of the coins in the jar is "; DLRS; " dollars and "; CNTS; " cents."

70 PRINT "Do you want to run the program again ?"

80 PRINT "Type [ Y ] for yes, or [ N ] for no."

90 INPUT A$ : IF  A$ = "Y" or A$ = "y" then PRINT : PRINT : GOTO 15

100 IF A$ = "N" or A$ = "n" then PRINT "OK.  Thank you.  BYE."

110 END

(This is the most up-to-date software development language I know how to use.  But I'm a dinosaur.  You're free to implement the application in any system where you feel more comfortable.)

You might be interested in
Marisa is keeping track of how many miles she runs.after her run on July 12 she had run a total of 7miles if she runs 3miles eac
Alborosie
Basically the equation is (3x6)+7=25
7 0
3 years ago
A pair of shoes usually sell for 60$. If the shoes are 20% off, and a sales tax of 6%, what is the total price of the shoes, inc
hoa [83]
$50.88 is the total amount because 60 - 20% = $48 then you add 6% sales tax which is $2.88 = $50.88
8 0
4 years ago
Read 2 more answers
Help please being timed and I don’t get it...?
goblinko [34]

Answer:

i got you.

whats up

Step-by-step explanation:

7 0
3 years ago
John buys 6 shirts. For every shirt purchase you get one for 30% off. If the normal price for each shirt is $20.00 dollars, how
ziro4ka [17]

Answer: 36

Step-by-step explanation:

$20.00(.30) =6

6(6)=36

4 0
3 years ago
Please SOMEONE help me on this asap!!!
VARVARA [1.3K]
As x increases, the value of p(x) approaches a number that is y-int value of q(x)
y- int of the function p is -2 (one more) the y-int of the function q

What choices there are, then I can answer more exactly

8 0
4 years ago
Read 2 more answers
Other questions:
  • AB = 8 and AD = 5. What is BC?
    11·1 answer
  • A pole tilts toward the sun at a 12° angle from the vertical, and it casts a 20-foot shadow. The angle of elevation from the tip
    11·2 answers
  • If a student randomly guesses at 20 multiple-choice questions, find the probability that the student gets exactly four correct.
    5·2 answers
  • How many 10 oz servings are in a 5-quart pitcher of lemonade?<br><br>There are ? Servings
    10·1 answer
  • Find the value of y
    8·2 answers
  • PLZZ HELPP ILLL GIVE BRAINLIST
    11·2 answers
  • Mt. Boma is 8150 yards above sea level. There are 3 feet in a yard and 5280 feet in a mile, how many miles above sea level is Mt
    15·1 answer
  • Write 0.68 as a percentage.
    7·2 answers
  • James, who works as an accountant, is paid for overtime. Last week he worked 11,9,8,8 and 8 hours respectively on his weekdays.
    13·1 answer
  • Use the equation below to find T, if w=85, m= 12, and a=3.<br> T=w-ma<br> T = 3,060<br> X<br> ?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!