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
What is the slope of this line? y=4x+6
ruslelena [56]

Answer:

The slope is 4

Step-by-step explanation:

So the formula is y=mx+b. M is the slope and b would be your y intercept. So the slope is 4. (I just did this in class)

7 0
3 years ago
From point a travel 12 km south and 10 km west then travel 5 km north how far r u from point a
maks197457 [2]

Answer:17

Step-by-step explanation:

8 0
3 years ago
Knowing that P = X x i / 100, C = main, e = Rate. Calculate the rate for the formula: A principal of R $ 105,000.00 obtained a p
Brut [27]

Answer:

Interest expressed as a percent of the principal will be referred to as an ... earned on an investment of P at the annual interest rate r for a period of t ... (c) monthly, (​d) weekly, (e) daily, and (f) continuously at a nominal annual ... and substitute x = 3−2y in for x in second equation and find 4y−3(3−2y) = 1.

Step-by-step explanation: sorry if that doesn't help :(

3 0
3 years ago
456 divided by n=4.56
Arlecino [84]
To find this out, just divide 456, by the answer of 4.56
So once you divide that, you get 100.
So, n=100
CHECK:
456 divided by 100=4.56
~~~~~~~~~~~~~~~~~~~
Hope this helped :)
8 0
3 years ago
Read 2 more answers
Help please I might have a quiz soon!
Thepotemich [5.8K]

Answer:

We are given that the two triangles are approximately equal or similar thus

angle M=angle Z = 124

angle L = angle X = 33

angle N= angle Y  = ?

The total angles is 180, thus angle N or Y is 180- (124+33) = 23

5 0
3 years ago
Other questions:
  • The area of a sector of a circle with a central angle of 170° is 70 m 2. find the radius of the circle. (round your answer to on
    14·2 answers
  • A started some business with RS 26,000. After 3 month B joined him with Rs. 16,000. After some more time C joined them with Rs.
    5·1 answer
  • How do you write 0.0000000706 in scientific notation? ____× 10^____
    5·2 answers
  • Divide using synthetic division.<br><br> <img src="https://tex.z-dn.net/?f=%28x%5E%7B4%7D%20-x%5E%7B3%7D%20%2B3x%5E%7B2%7D%20-6x
    7·1 answer
  • 18. Which ordered pair is not a solution of 3x - 5y&lt; 30?
    10·1 answer
  • Bananas are $0.59/pound, what is the constant of proportionality?
    5·1 answer
  • Which of the bar graphs could be used to represent the data shown by the histogram
    7·1 answer
  • 75 is 18 1/2 more than a number​
    5·1 answer
  • A soccer field measures 90 meters wide by 120 meters long starting together in one corner you walk the diagonal to the opposite
    13·1 answer
  • PLEASE HELP ASAP SHOW WORK PLEASE!!!!
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!