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
mina [271]
3 years ago
13

Write a program that allows the user to enter a number of quarters, dimes, and nickels and then outputs the monetary value of th

e coins in cents. For example, if the user enters 2 for the number of quarters, 3 for the number of dimes, and 1 for the number of nickels, then the program should output that the coins are worth 85 cents.
Chemistry
1 answer:
miskamm [114]3 years ago
4 0

Answer:

// Program is written in C++ Programming Language

// Comments are used for explanatory purpose

// Program Starts here

#include<iostream>

using namespace std;

int main ()

{

// Declare Variables

int quarter, dimes, nickel, cent;

// Enter values for each

cout<<"Quarter: ";

cin>>quarter;

cout<<"Dimes: ";

cin>>dimes;

cout<<"Nickels: ";

cin>>nickel;

/*

In the United States, these coins have the following values

Quarter = 25 cents

Done = 10 cents

Nickel = 5 cent

Total cent is calculated below

*/

cent = 25 * quarter + 10 * dimes + 5 * nickel;

// Print Total

cout<<"The coins are worth "<<cent<<" cents";

return 0;

}

You might be interested in
Long ago, living things were divided into two main groups: _________
solmaris [256]

Answer:

I think the answer is Prokaryote and Eukaryote

Explanation:

6 0
2 years ago
State the definition of the partial molar Gibbs energy.
balu736 [363]

Explanation :

As we know that the Gibbs free energy is not only function of temperature and pressure but also amount of each substance in the system.

G=G(T,P,n_1,n_2)

where,

n_1\text{ and }n_2 is the amount of component 1 and 2 in the system.

Partial molar Gibbs free energy : The partial derivative of Gibbs free energy with respect to amount of component (i) of a mixture when other variable (T,P,n_j) are kept constant are known as partial molar Gibbs free energy of i^{th} component.

For a substance in a mixture, the chemical potential (\mu) is defined as the partial molar Gibbs free energy.

The expression will be:

\bar{G_i}=\mu_i=\frac{\partial G}{\partial n_i}_{(T,P,n_j)}

where,

T = temperature

P = pressure

n_i\text{ and }n_j is the amount of component 'i' and 'j' in the system.

4 0
3 years ago
Chemoautotrophs use ___ as an energy source and ___ as a carbon source. select one:
Agata [3.3K]
The answer is E.
Chemoautotrophs are organisms that use inorganic <span>compounds as an energy source and CO2 as a carbon source. The organisms live in </span>hostile environments like dark depths of the sea. Inorganic energy sources that they use are mostly hydrogen sulfide, elemental sulfur, ferrous iron, molecular hydrogen, and ammonia. 
3 0
3 years ago
Read 2 more answers
What is the volume mL of 2 degree celsius?
Anestetic [448]

Answer:

Question not very specific, but here is an answer you might be looking for. Density of object at 2 degrees C, 0.99997 g/mL. Hope it IS the answer you are looking for!

Explanation:

7 0
2 years ago
Convert 25 mg to unit HG
Degger [83]
Your answer would be 250,000
6 0
2 years ago
Other questions:
  • What will happen to a iron nail kept in water for some day
    11·1 answer
  • Why do we use scientific notation or scientific exponential numbers in math calculations?
    8·1 answer
  • What type of compound is formed when a secondary (2°) alcohol is treated with Jones' reagent?
    11·1 answer
  • In Europe, gasoline efficiency is measured in km/L. If your car’s gas mileage is 25.0 mi/gal, how many liters of gasoline would
    7·1 answer
  • A 25.00-mL aliquot of a nitric acid solution of unknown concentration is pipetted into a 125-mL Erlenmeyer flask and 2 drops of
    6·1 answer
  • What is the difference between acidic and basic solutions in working with
    5·1 answer
  • which is a chemical change, water boiling, wood burning,glass breaking, ice melting, or molding iron ?
    5·2 answers
  • If you know chemistry please be so kind and take some time to help me with these 2 problems!! Marking brainliest!!
    15·1 answer
  • Salt formed by the partial neutralization of an acid by a base are
    9·1 answer
  • What is the electron configuration for helium (He)?<br> 1s1<br> 1s2<br> 1s22s1<br> 1s22s2
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!