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
Kisachek [45]
3 years ago
6

Write a program that tells what coins to give out for any amount of change from 1

Computers and Technology
1 answer:
ipn [44]3 years ago
5 0

Answer:

#include<iostream>

using namespace std;

void computeCoin(int coinValue, int& number, int& amountLeft)

{

number = amountLeft / coinValue;

amountLeft = amountLeft % coinValue;

}

int main()

{

int cents;

int number;

char ch;

do

{

cout << "Enter no of cents. :";

cin >> cents;

while(cents<1 || cents >99)

{

cout << "Invalid cents entered. Re-Enter no of cents. :";

cin >> cents;

}

cout << cents <<" can be given as ";

computeCoin(25,number,cents);

if(number)

cout << number << " quarters ";

computeCoin(10,number,cents);

if(number)

cout << number << " dimes and ";

cout << cents << " penny"<<endl;

cout<< "do u want to continue enter y or n :";

cin >> ch;

}while(ch=='y');

return 0;

}

Explanation:

You might be interested in
Look at comments and read it please.
Brilliant_brown [7]

Answer: I need a point bruhhh

Explanation:

3 0
3 years ago
In cell 14, calculate
lord [1]

Answer:

See Explanation

Explanation:

The question is incomplete as the cells that contains donation and streaming revenues are not given

<u>So, I will make the following assumption:</u>

H4 = Donations

G4 =  Streaming Revenues

<u>So, the profit will be:</u>

Enter the following formula in cell I4

=(G4 - H4)

<em>To get the actual solution in your case, replace G4 and H4 with the proper cell names</em>

3 0
3 years ago
What do the privacy settings on social networking sites actually control
scoundrel [369]

Answer:

 The privacy setting on the social networking site are important as it manage and also hide our all the privacy details. The social networking site are basically used for communication and also we can easily make connections with other people but sometimes we want to hide our personal details for security purpose from the strangers.

Then go the app and open the privacy setting button and change all the settings. We can also hide our status, last seen, personal information from the strangers as sometime people are selective with their audience.

5 0
4 years ago
Which of the following is a form of media?Check all that apply.
Nataly_w [17]

Answer:

A. a brochure distributed to many people.

D. a blog.

Explanation:

Communication can be defined as a process which typically involves the transfer of information from one person (sender) to another (recipient), through the use of semiotics, symbols and signs that are mutually understood by both parties.

Generally, the linear model of communication comprises of four (4) main components and these are;

1. Sender (S): this is typically the source of information (message) or the originator of a message that is being sent to a receiver. Thus, they are simply the producer of a message.

2. Channel (C): this is the medium used by the sender for the dissemination or transmission of the message to the recipient. For example, telephone, television, radio, newspapers, billboards etc.

3. Message (M): this is the information or data that is being sent to a recipient by a sender. It could be in the form of a video, audio, text message etc.

4. Receiver (R): this is typically the destination of information (message) or the recipient of a message that is being sent from a sender.

Hence, the following are forms of media (communication channel);

I. A brochure distributed to many people. It comprises of printed textual informations used mainly for promotional purposes.

II. A blog. It is an online website that contains both textual and multimedia messages, especially as a news platform.

8 0
3 years ago
Question: Do you think it is an insult to use the expressions “throws like a girl,” “runs like a girl,” or “hits like a girl?” D
scZoUnD [109]

Answer:

It depends

Explanation:

If you are using it to joke around with friends its fine, but if you use it to offend somebody you dont know then its extremely disrespectful.

6 0
3 years ago
Read 2 more answers
Other questions:
  • Server farms such as Google and Yahoo! provide enough compute capacity for the highest request rate of the day. Imagine that mos
    12·1 answer
  • _____ consists of computer equipment used to perform input, processing, and output activities.
    10·1 answer
  • Based on the pedigree chart what should you assume about the perental generation
    11·1 answer
  • What is ATX full size motherboard? Tell its size as well?
    14·1 answer
  • A series circuit contains a generator, two devices, and connecting wires. The resistances of the two devices are 15 ohms and 10
    10·2 answers
  • List 3 categories of computers,describe 2 aspects that differentiate these categories in terms of capability.
    8·1 answer
  • Write a program that produces a bar chart showing the population growth of Prairieville, a small town in the Midwest, at 20-year
    11·1 answer
  • What does the doppler effect do?
    9·1 answer
  • How can you relate the careers in Finance as BSIS students?
    15·1 answer
  • List and describe in detail any four power management tools that were developed by at
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!