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
What are the types of connective tissue? Describe each type, and give an example of each.
In-s [12.5K]

Answer:

he major types of connective tissue are connective tissue proper, supportive tissue, and fluid tissue. Loose connective tissue proper includes adipose tissue, areolar tissue, and reticular tissue.

Explanation:

3 0
3 years ago
The atom with the same number of neutrons as 12C is 9Be. 11B. 13C. 14N.
julia-pushkina [17]

Answer : The atom with the same number of neutrons as ^{12}C is, ^{11}B

Explanation :

  • The given atom is, ^{12}C

Atomic mass number = 12

Atomic number = 6

Atomic number = Number of protons = Number of electrons = 6

Number of neutrons = Atomic mass number - Atomic number = 12 - 6 = 6

Now we have to determine the number of neutrons in the given options.

  • In atom, ^{9}Be

Atomic mass number = 9

Atomic number = 4

Atomic number = Number of protons = Number of electrons = 4

Number of neutrons = Atomic mass number - Atomic number = 9 - 4 = 5

  • In atom, ^{11}B

Atomic mass number = 11

Atomic number = 5

Atomic number = Number of protons = Number of electrons = 5

Number of neutrons = Atomic mass number - Atomic number = 11 - 5 = 6

  • In atom, ^{13}C

Atomic mass number = 13

Atomic number = 6

Atomic number = Number of protons = Number of electrons = 6

Number of neutrons = Atomic mass number - Atomic number = 13 - 6 = 7

  • In atom, ^{14}N

Atomic mass number = 14

Atomic number = 7

Atomic number = Number of protons = Number of electrons = 7

Number of neutrons = Atomic mass number - Atomic number = 14 - 7 = 7

Therefore, the atom with the same number of neutrons as ^{12}C is, ^{11}B

6 0
3 years ago
The dating of geological formations is an example of a beneficial use of
Nitella [24]
The answer is (4). You may recall the term "radiometric dating," which refers to the dating of old artifacts by measuring proportions of certain radioactive isotopes they contain and making calculations based on their estimated half-lives. Geological formations are dated in this way.
3 0
2 years ago
How many moles are in 43.5 g of sodium hydroxide (NaOH)?
Makovka662 [10]

Answer:

1.09 moles of NaOH

Explanation:

First of all, to calculate moles, you need to find the molar mass of NaOH.

Let us first find the molar mass of NaOH then.

Na = 23.0 amu

O = 16.0

H = 1.0

They are 1 nitrogen atom, 1 oxygen atom, and one hydrogen atom.

So do this.

23.0(1) + 16.0(1) + 1.0(1) = 40 g/mol.

Now use dimensional analysis to show your work

43.5 g of NaOH * 1 mol of NaOH / 40 g/mol of NaOH

The grams cancel out.

43.5 / 40.0 = 1.0875

Use sig figs and round the answer to the nearest hundredths place.

1.0875 = 1.09

So the final answer is 1.09 moles of NaOH

Hope it helped!

3 0
2 years ago
If a compound with a density of 9.0 g/cm^3 occupies 37.6 in^3, what is its mass in kg?
STALIN [3.7K]

Answer:                  

V =  m d  = 14 830 g ×  1 c m ³ 19.32 g  = 767.6 cm³

6 0
3 years ago
Read 2 more answers
Other questions:
  • 5. HOW do you think ideas like the periodic table get widely known and accepted in the scientific
    13·1 answer
  • Moon is related to planet in the same way that planet is related to _____________. A. Orbit
    14·1 answer
  • Which option accurately describes the first two stages of photosynthesis?
    6·1 answer
  • If you purchased 2.31 μCi of sulfur-35, how many disintegrations per second does the sample undergo when it is brand new?
    11·1 answer
  • Which of the following explain why nonmetals are typically harder and more brittle than metals?
    14·2 answers
  • C2H5OH(l) + 3O2(g) → 2CO2(g) + 3H2O(l), ΔH = –1.37 × 103 kJ For the combustion of ethyl alcohol as described in the above equati
    8·1 answer
  • A piece of titanium metal has a massive 67.5 g no volume of 15 cm³ what is the density of the titanium
    12·1 answer
  • The theory of evolution states
    14·1 answer
  • I need help with this please
    11·1 answer
  • The total bonding energy for the products of a reaction is 2535 kJ/mol and the bonding energy of the reactants is 1375 kJ/mol. C
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!