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
Triss [41]
3 years ago
7

Write a function named change() that has an integer parameter and six integers reference parameters named hundreds, fifties, twe

nties, tens, fives, and ones. The function is to consider the passed integer value as a dollar amount and convert the value into the fewest number of equivalent bills. Using the reference parameters, the function should alter the arguments in the calling function. Make sure your function is called from main() and returns a value to main() correctly. Have main() use a cout statement to display the returned value. Test the function by passing various data to it and verifying the returned value.

Computers and Technology
1 answer:
Dmitry_Shevchenko [17]3 years ago
8 0

Answer:

The code for this question is attached below:

You might be interested in
Carbon monoxide poisoning can result from breathing
Mamont248 [21]
The answer is the letter a
6 0
3 years ago
The function below takes a single argument: data_list, a list containing a mix of strings and numbers. The function tries to use
Doss [256]

Answer:

def filter_strings(data_list):

   string_list = []

   for s in data_list:

       if type(s) == str and len(s) > 5:

           string_list.append(s)

   return string_list

Explanation:

Create a function called filter_strings that takes data_list as a parameter

Initialize a new list to hold the strings that are longer than 5 characters

Initialize a for loop that iterates through the data_list

Check the elements if they are string - use type function, and if their length is greater than 5 - use len function. If an element satisfies the both conditions, put it to the string_list

When the loop is done, return the string_list

6 0
3 years ago
Write a program that uses two input statements to get two words as input. Then, print the words on one line separated by a space
Shkiper50 [21]

word1 = input("Enter a word: ")

word2 = input("Enter a word: ")

print(word1 + " " + word2)

I hope this helps!

6 0
3 years ago
The _______ command was developed by nicholas harbour of the defense computer forensics laboratory.
Lena [83]
Hi! The answer is dcfldd
3 0
3 years ago
In the _____ phase of transferring data from a transactional database to a data warehouse, the builders create the files from tr
Kruka [31]

Answer: Extraction phase

Explanation: Transactional database is the data collection capable of undoing the transaction that has not been correctly done. Data warehouse id the place where transaction data is transmitted where different types of databases are stored.

The transmission of the information from transactional database to data warehouse is defined in the extraction phase.The extraction phase works by transforming the data into a particular format. It copes the transactional databases's data to the warehouse by making separate space for deposition of data

8 0
3 years ago
Other questions:
  • How can I print an int as a char in C?
    13·2 answers
  • *****NEED HELP ASAP!!!! COMPUTER HELP!!!! PLEASE!**
    13·1 answer
  • . When you have multiple graphics positioned on a page, you can _______________ them so that they are a single graphic instead o
    9·1 answer
  • Which part of the os provides users and applications with an interface to manipulate files?
    8·1 answer
  • 4+4 act quick for brainliest
    10·2 answers
  • For what tools such as USMT and Treanxition used?
    15·1 answer
  • Physical activity such as sports or even a brisk walk can help reduce
    7·2 answers
  • An online travel agency such as Travelocity is an example of a(n) _____.
    14·1 answer
  • ,ll<br><br><br><br> hmvcvmhbbb b cbc bc bc b cb cbcb c
    13·1 answer
  • How do science, mathematics, and technology each influence engineering
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!