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
Which compound inequality is represented by the graph?
OLga [1]

<u>Answer-</u>

\boxed{\boxed{x < -2\ or\ x \geq 4}}

<u>Solution-</u>

As we know that, on the number line, if a number is on the right of another number, then the former number is greater than the later number.

As, the number on the right side are 4, 5, ...so on (4 is dotted so it is included)

So the inequality will be x\geq 4

As, the number on the left side are -3, -4, -5, ..... so on (-2 is not dotted so it is excluded)

So the inequality will be x

Then the compound inequality will be, x < -2\ or\ x \geq 4

3 0
3 years ago
Read 2 more answers
*m is the midpoint of segment in. c has coordinates (-3, -1) and m has coordinates (0,1). find the coordinates of n
Pepsi [2]
M is the mid-point : (0,1)

c is one end : (-3, -1)

n is the other end : (x, y)

The formula for the midpoint of a line segment is : (\frac{ x_{1} +  x_{2} }{2}, \frac{ y_{1} +  y_{2}}{2})

Mid-point m : (\frac{x + (-3)}{2} ,  \frac{y + (-1)}{2})

(0, 1) : (\frac{(x -3)}{2} , \frac{(y -1)}{2})

Thus,

\frac{x-3}{2} = 0

--- x = 3

\frac{y-1}{2} = 1

y -1 = 2

--- y = 3

The co-ordinate of n is (3,3)


4 0
4 years ago
(3 times X equal to 18 plus X
Natali [406]
It’s





X = 9 if you was looking for x
6 0
3 years ago
Read 2 more answers
Help please?
FinnZ [79.3K]

The r value is r = -0.015 which is much closer to 0 than it is to -1, so this means that the linear regression line is a bad model to estimate the points. You're better off using some other model (eg: quadratic model), or it's possible that the data isn't connected at all and it's random noise.

If r were closer to -1, then we'd be more confident that the lines all fall around the same straight line that slopes downward.

5 0
3 years ago
Read 2 more answers
Five friends decided to get together to bake cookies for a fundraiser. In total, they baked 144 cookies and packaged them in doz
Irina-Kira [14]
All you have to do is 144/12=12 so therefore there are 12 packages of cookies they had to bake for a fundraiser.
3 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following expressions are equivalent to 4 + (14 - 2)
    14·1 answer
  • Can someone please help, my homework is so soon
    15·1 answer
  • Which equation represents the following word sentence? The opposite of g times the quantity 2 plus 5.
    5·1 answer
  • Faye is making muffins. The recipe calls for 1/2 cup of walnuts to sprinkle on the tops of the muffins. Faye plans to put nuts o
    15·2 answers
  • Hich ordered pair is the solution to the system of equations? {x=(1)/(2)y+5} {2x+3y=-14}
    6·2 answers
  • Which property is represented by the equation shiwn below 6×3= 3×6​
    5·1 answer
  • Can someone please help
    5·1 answer
  • 2.5k + 4 = 84
    13·1 answer
  • On the graph shown, line C is the parent function
    7·1 answer
  • in a survery of 1000 families it was found that 710 drink tea with breakfast while 230 drink coffee. the families who drink both
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!