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
Travka [436]
3 years ago
5

A bag of biscuit can hold 22 biscuit, and a container can hold 70 bags of biscuit. Write a program that prompts the user to ente

r the total number of biscuits, the number of biscuits in a bag, and the number of biscuit bags in a container. The program then outputs the number of bags and the number of containers to ship the biscuit. Note that each bag must contain the specified number of biscuits, and each container must contain the specified number of bags. If the last bag of biscuit contains less than the number of specified biscuits, you can discard it and output the number of leftover biscuits. Similarly, if the last container contains less than the number of specified bags, you can discard it and output the number of leftover bags
Computers and Technology
2 answers:
Gala2k [10]3 years ago
6 0

Answer:

leftover bags that make turtles sick

Explanation:

Marta_Voda [28]3 years ago
5 0
The answer is left over bags that make turtles sick
You might be interested in
Frankie used the ps command to find the process id of an application that he needs to stop. What command-line tool should he use
ASHA 777 [7]

In the case above, the command-line tool should he use to stop the application based on its process id is e option

What is the use of ps command?

The ps command is known to be one that helps enables a person to be able to look at the status of any kind of active processes on a system, and also that of display technical information in regards to the processes.

Note that In the case above, the command-line tool should he use to stop the application based on its process id is e option

Learn more about command-line tool from

brainly.com/question/3737699

#SPJ1

7 0
2 years ago
Help HS Introduction to Online Learning Unit 6: Study Skills
anygoal [31]
1.note taking
2.usb flash drive
8 0
4 years ago
Read 2 more answers
8.11 LAB: Count characters - functions Write a program whose input is a character and a string, and whose output indicates the n
Shkiper50 [21]

Answer:

#include<iostream>

using namespace std;

int CountCharacters(char userChar, const string inputstr){

   int k = 0;

   int iter = 0;

   for (iter = 0; iter < inputstr.size(); iter++){

       if (inputstr[iter] ==  userChar){

           ++k;        }}

   return k;}

int main(){

   string str;

   char userChar[1];

   cout<<"Char: ";    cin>>userChar;

   cin.ignore();

   cout<<"String: ";   getline(cin, str);

   cout<<CountCharacters(userChar[0],str);

   return 0;}

Explanation:

Written in C++:

The function is defined here:

int CountCharacters(char userChar, const string inputstr){

This initializes a count variable k to 0

   int k = 0;

This initializes an iterating variable iter to 0

   int iter = 0;

This iterates through the characters of the string being passed to the function

   for (iter = 0; iter < inputstr.size(); iter++){

This checks for matching characters

       if (inputstr[iter] ==  userChar){

If found,  k is incremented by 1

           ++k;        }}

This returns the total count

   return k;}

The main begins here

int main(){

This declares a string variable

   string str;

This declares a character variable

   char userChar[1];

This gets input for the character variable

   cout<<"Char: ";    cin>>userChar;

This lets the user get another input

   cin.ignore();

This gets input for the string variable

   cout<<"String: ";   getline(cin, str);

This calls the function and return the count of character in the string

   cout<<CountCharacters(userChar[0],str);

6 0
3 years ago
What is a different between Google and Yahoo?
Svetllana [295]
I think the difference is that they were founded by different people.
5 0
3 years ago
Read 2 more answers
What are the advantages and disadvantages of C programming. Give 6 points for each<br>​
liberstina [14]

Refer to the attachment...

i \: hope \: it \: will \: help \: you...

5 0
2 years ago
Other questions:
  • Computer models are the only type of model that can be used to make predictions. Please select the best answer from the choices
    10·2 answers
  • Which of the following would an interactive media proffessional must likely need
    9·1 answer
  • The IT department in a company is looking for a solution to consolidate the functionality of several mission critical server com
    14·1 answer
  • ________ refers to the ability to identify the person or entity with whom you are dealing on the Internet. Question 41 options:
    10·1 answer
  • You need to synchronize your mobile device data with your desktop computer. for security reasons, your organization prohibits sy
    5·1 answer
  • Define<br>output<br>devices<br>.<br>Give<br>any<br>three<br>examples<br>.<br>3.​
    8·2 answers
  • What is information processing cycle​
    12·1 answer
  • An entity can be said to have __ when it can be wronged or has feelings of some sort
    10·1 answer
  • 1. The Bank manager is imposing a 10% interest rate on the new salary loan to every account in the BPI Family Bank. (ANSWER SHOU
    15·1 answer
  • When users connect to the network, they use a basic hardware terminal to access a desktop hosted on a virtualization server. wha
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!