Amelie is planning a gingerbread house making workshop for the neighborhood, and is writing a program to plan the supplies. She's buying enough supplies for 15 houses, with each house being made out of 5 graham crackers. Her favorite graham cracker brand has 20 crackers per box. Her initial code:

Answers

Answer 1

The line of code that successfully calculates and stores the number of leftover crackers in the final box is extras ← crackersPerBox - (neededCrackers MOD crackersPerBox).

From the complete information, her initial code is given as:

numHouses ← 15

crackersPerHouse ← 5

crackersPerBox ← 20

neededCrackers ← crackersPerHouse * numHouses

It was depicted that Amelie realizes that she'll need to buy more crackers since the crackers come in boxes of 20.  Therefore, to calculate how many graham crackers will be leftover in the final box, the line of code from the options will be extras ← crackersPerBox - (neededCrackers MOD crackersPerBox).

Read related link on:

https://brainly.com/question/25663035


Related Questions

Why do
ve need to add movies in our slide?

Answers

Answer:

movies are awesome! LOL but i dont understand your question...sadly.

Explanation:

shang chi Critique (6-8 sentences)

Answers

Explanation:

.......................

How to set encapsulation angular component.

Answers

Answer: anyone know?

Explanation:

we are unable to process your request at this time. if you continue to receive this error, please contact cardholder services by calling the number on the back of your card.

Answers

Answer:

is this a sim chip card replacement card for Electronics ?

Explanation:

Assume the int variables i ,lo , hi , and result have been declared and that lo and hi have been initialized.
Assume further that result has been initialized to the value 0.
Write a for loop that adds the integers from lo up through hi (inclusive), and stores the result in result.
Do not declare any additional variables --
use only i,lo,hi.
------------------------
import java.util.Scanner;
public class forloop_add{
public static void main(String args[]) {
int i,lo=1,hi=3,result=0;
Scanner scanner =new Scanner(System.in);
System.out.println("Enter the lower limit:");
lo=scanner.nextInt();
System.out.println("Enter the upper limit:");
hi=scanner.nextInt();
///{
//write your code here
//start
//end
///}
System.out.println("Result:"+result);
}
}

Answers

Answer:

I don't get this question, what is the point of initializing lo and hi if you're gonna read an input of both later, which is gonna override?

Explanation:

A customer reached out via Twitter Direct Message to your company, looking for support with a complex issue. A co-worker was already helping that user but is away on vacation. Which Hootsuite feature would be best to respond with?

Answers

The Hootsuite platform provides tools that enable a person to manage his social media activities in one spot. The Hootsuite feature that would be best to respond with given the above scenario is;

Hootsuite inbox

Using the Hootsuite inbox, a user can access the private and public conversations between a former user and a client.

You can see the post that prompted the customer to speak with the organization's representative.

After reading through the conversations, you can reply the client and take any step that is required of you.

Learn more here:

https://brainly.com/question/15321261

How to get response from post request angular.

Answers

Answer:

I am trying to get full response from a POST request. I have read how to get full response for a get request mentioned at the official site of angular. Angular http

What it says is to add { observe: 'response' }. But it would work for a get request and not for post request. post request accepts 2-3 arguments, so I cannot send this as the 4th argument. Please have a look at my code and let me know what I am doing wrong.

Explanation:

const httpOptions: { headers; observe; } = {

 headers: new HttpHeaders({

   'Content-Type':  'application/json'

 }),

 observe: 'response'

};

return this.http.post('http://localhost:3000/api/Users/login', data, httpOptions) ..

what is the most common size for footings for an 8 inch foundation​

Answers

Answer:

#4 rods at 12 inches o.c.

Explanation:

You have two identical print devices that are set up in a work room. Currently, the Windows print server has two printers configured-one for each print device. Some of your users have one printer configured on their computer and other users have the other printer configured. You have found that users are often waiting for their print job to start because another print job is running on the same print device while the other print device sits idle. You want to maximize usage of both printers and avoid having users wait. What should you configure

Answers

Since you want to maximize the usage of both identical print devices (printers) and avoid having users wait, you should configure: printer pooling.

A printer can be defined as an electronic output device that is typically designed and developed to be used for printing paper documents containing textual information and images.

In this scenario, you want the two (2) identical print devices (printers) to print concurrently, so as to prevent users from waiting for their print job to start while the other print device sits idle.

Hence, you should configure printer pooling on both print devices (printers) because this feature would allow the two (2) identical print devices (printers) to share the same name and function as a single printer.

In conclusion, load balancing of print jobs can be achieved by configuring printer pooling on two or more printers.

Read more: https://brainly.com/question/17100575

A technology ____ begins with the birth of a new technology and ends when that technology reaches its limits and dies as it is replaced by a newer, substantially better technology.

Answers

Answer:

A technology __cycle __ begins with the birth of a new technology and ends when that technology reaches its limits and dies as it is replaced by a newer, substantially better technology.

Explanation:

Hope its help

helpppppppppppppppppppppppppppppppppppppppppppppppppppp

Answers

Answer:

I would say B.

Explanation:

It seems the most logical. :)

True or False: You can insert a part into an assembly by dragging the part file from Windows Explorer into the Onshape window and dropping it in your assembly.

Answers

The Onshape software is a Computer - Aided - Design (CAD) apllication which is used to create various engineering components and simulation.

The program has several functionality which is extremely useful and similar to other CAD software packages such as SOLIDWORKS and AUTOCAD.

There are several ways of adding a required component to an assembly, which also includes dragging a supported file from explorer into the application window.

Hence, the Statememt is True.

Learn more : https://brainly.com/question/25702248

What access-point feature allows a network administrator to define what type of data can enter the wireless network?

Answers

Traffic filtering. It’s name is self-explanatory!

If a friend gave a used Wii disc to someone, and they put it in their Wii, could they play it? Nintendo Switch games can only be used on 1 switch, so is that the case?

Only answer if you know, please.

Answers

Any game disc or card can be used on multiple consoles

DES is a commonly used symmetric encryption algorithm, developed in the mid-1990s by the American government in conjunction with IBM, and is the recommended encryption algorithm for highly sensitive data. True False

Answers

Answer:

False

Explanation:

The DES encryption standard is believed to be weakened by the American government by containing shortened key lengths and 'S-boxes' of unknown origin.

Do you think should give credit to people who invented viral dances?

Answers

Answer:

michal jackson i think who credit to people invented viral dances.

Answer:

Yes

Explanation:

Well, they added some taste to life.

What core components are involved with all games?

Player actions, humor, rewards, coins

Player goals and actions, rules, challenges

Challenges, riddles, mind-benders, tasks

Injury, re-birth, rules, questions

Answers

Answer:

B.) Player goals and actions, rules, challenges

Explanation:

Write a program that reads a list of integers, one per line, until an * is read, then outputs those integers in reverse. For simplicity in coding output, follow each integer, including the last one, by a comma. Note: Use a while loop to output the integers. DO NOT use reverse() or reversed(). Ex: If the input is:

Answers

Answer:

I'm just going to copy my pseudocode into an answer:

x = array()

i = 0

while (true)

j = input()

if j = "*" then break

x[i] = j

i++

print x.join(", ")

Explanation:

The program that read a list of integers, one per line, until an * is read, then outputs those integers in reverse can be found in explanation.

What is programming?

Computer programming is the process of carrying out a specific computation, typically by designing and constructing an executable computer program.

Programming tasks include analysis, algorithm generation, algorithm accuracy and resource consumption profiling, and algorithm implementation.

The program that reads a list of integers, one per line, until a * is read, then reverses the output of those integers is:

x = array()

i = 0

while (true)

j = input()

if j = "*" then break

x[i] = j

i++

print x.join(", ")

Thus, it can be concluded that the above mentioned is the program for the given scenario.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ5

What is the quickest option for adding internet images to a PowerPoint presentation?

*it's b. use the online pictures option....

Answers

Answer:

b. Use the Online Pictures option to perform a search of web-based images to insert.

Explanation:is correct. post protected

When a mobile user connects to a main office using a standard Internet connection, a ____ provides the mobile user with a secure connection to the company network server.

Answers

A virtual private network (VPN) is an encrypted connection using a standard Internet connection to connect a device to a network.

A virtual private network (VPN) is used to connect a private network to a public network. It enables users have access to the private network thereby enabling them to send and receive data across public networks.

A virtual private network (VPN) is an encrypted connection using a standard Internet connection to connect a device to a network.

Find out more at: https://brainly.com/question/25234505

Which option is used to apply formatting to multiple objects on a single slide while still maintaining the ability to manage these objects independently if desired?

it was B. Grouping feature edg21

Answers

Answer:

b. Grouping feature

Explanation:post protected

Consider the following instance variables and method from a class: private String descriptor; public String makeSentence(int quant, boolean sign) { String s = "Object is "; if (!sign) { s += "not "; } for (int i = 0; i < quant; i++) { s += "very "; } return s + descriptor; } Suppose an object of this class is initialized so the value of descriptor is "regular". What would be returned by the call makeSentence(3, false) made on this object?

Answers

The call makeSentence(3, false) will return

"Object is not very very very regular"

The program fragment is:

///////////////////////////////////////////////////////////////////////////////////////////////////////////////

private String descriptor;

public String makeSentence(int quant, boolean sign) {

   String s = "Object is ";

   if (! sign) {

       s += "not ";

    }

   for (int i = 0; i < quant; i++) {

       s += "very ";

   }

   return s + descriptor;

}

///////////////////////////////////////////////////////////////////////////////////////////////////////////////

descriptor is an instance field of the class. When makeSentence(3, false) is called, it does the following;

Initializes a local variable s with "Object is "

s now contains "Object is "

Since sign== false, the if block executes

s now contains "Object is not "

The for loop will execute 3 times to append "very " to s

s now contains "Object is not very very very "

Finally the return statement returns a concatenation of the contents of descriptor (descriptor=="regular") and s

s now contains "Object is not very very very regular"

Learn more about programs here: https://brainly.com/question/19625875

the correct banner marking for a commingled document

Answers

Answer:

The correct banner marking for a commingled document is Headers and footers are mandatory and must be identical All sections or portions must be marked or portion marked CUI markings and Limited Dissemination Control markings appear after all classified marking in both Banner Lines and Portion Markings

Hope this helps :D

Please Mark Brainliest :D

I need help with this question.

Fill in the blank with the correct response.
When an app seems to have a personality, we say it has ____

Answers

The answer is persona

If you used D*n as the criterion in a Short Text field called FirstName, what would appear in that field in the query results

Answers

When querying a list or table, the use of wildcard symbols maybe used to optimize the search result. The words D*n will return First names which starts with D and ends with n.

The (*) denotes that the search returns any values or alphabets inbetween D and n.

Names such as Dean, Don, Drezn and other rated names would be included in the returned query.

Therefore, the returned query would include names starting with the letter D and ends with the letter n.

Learn more : https://brainly.com/question/25586700

does anyone know how to make a astronaut hop while using loop?

Answers

Answer:

In Java

Explanation:

package application;

import java.util.Scanner;

import entities.Astronaut;

public class Main {

public static void main(String[] args) {

 Scanner sc = new Scanner(System.in);

 

 System.out.print("How is the astronaut's energy in a scale of 0 to 100? ");

 int energy = sc.nextInt();

 

 Astronaut fakeArmstrong = new Astronaut();

 

 while (energy > 0) {

  fakeArmstrong.hop();

  energy--;

 }

 

 System.out.println("The astronaut is tired eh? Let him rest you psychopato");

 sc.close();

}

}

----------------------------------------------------------------------------------------------

package entities;

public class Astronaut {

private int bodyEnergy;

 

public Astronaut() {

 

}

 

 

public int getBodyEnergy() {

 return bodyEnergy;

}

public void hop() {  

 System.out.println("up and down!");    

}

}

When it comes to game mechanics, what is the most universal mechanic that is present in virtually every computer game that you can think of?

quests and goals
movement
catch-up
turns

Answers

I have no Clow but I wanted to answer because you cute

Explanation:

none

How to remove link color and underline in html.

Answers

Answer:

To remove the underline from all hyperlinks on a page, follow these steps:

Open the page that you want to modify.

Click the Codetab.

Put the following HTML code before the <BODY> tag: <STYLE>A {text-decoration: none;} </STYLE>

Click the Designtab. Your hyperlinks no longer contain underlines.

A common attack in which a client's cookies, security tokens, or other personal information is obtained and used to impersonate the user is referred to as

Answers

Answer:

Identity Theft. i hope this helps :D

what programming language supports relational databases?

Answers

A programming language that supports relational databases is SQL (Structured Query Language)

Structured Query Language (SQL), is the principal method for communicating with Relational Databases.

A relational database is a group of data elements that are linked together by predefined connections. These elements are laid up in the form of a series of tables containing columns and rows.

Tables are utilized for storing data about the items that will be displayed in the database. A column in a database contains a specific type of data, whereas a field records the actual value of an attribute. The table's rows indicate a collection of linked values for a single item or entity.

Each entry in a database can be assigned a unique identity known as a primary key, and rows from other tables can be linked together via foreign keys. This data may be accessible in a variety of ways without having to reorganize the database tables itself.

Learn more about Relational Databases here:

https://brainly.com/question/8457395?referrer=searchResults

Other Questions
Why are math skills useful to have in a healthcare system?A. Advanced math skills are required when working in any healthcare job.B. Demonstrating math skills helps healthcare practitioners make a good impression on patients.C. Having math skills will help a healthcare practitioner understand patient needs.D. Math skills help healthcare practitioners understand dosages and prescriptions. Beethoven's Symphony No. 9, "Odeto Joy," which he completed in 1824,was writtenA. to ensure that he would be financially stable.B. within a two-week period right after Beethovenread Schiller's poem.C. during a time when America and France hadrecently gained their freedom. (REAL ANSWERS PLEASE)4-22-10o-21-42Without graphing, what is the y-intercept of this function?es )A)(0,0)B)(-2, 1)(2, -1)D(4, -2) Which part of the government, according to the Constitution, is made up of justices who make sure that laws are followed? A. The Supreme Court B. The Senate C. The Appeals Court D. The State Hous IF U HAAD THEE RIGHHT ANSWERRR PLZZZ- Which of the following is NOT part of Dalton's atomic theory?A) Atoms are the smallest, indivisible particles in nature. B) Chemical reactions are simple rearrangements of atoms. C) Atoms follow the law of multiple proportions. D) Each atom of an element is identical to every other atom of that element. b Supplements of the water-soluble vitamins ______ and _______ are most likely to cause toxicity symptoms. Subtract from (4x- 5y+3z) from the sum of (9x+2y-3z), (-10x+ y- z) and (2x+ 3y+ 7z).Explain HELPPPPPPPPPPPPPPPPPPP atp molecules provide energy for cellular activities by Discuss why drugs test is a controversial component of the personnel selection progress. Drag each bar to the correct location on the graph. Each bar can be used more than once. Not all bars will be used.Ella surveyed a group of boys in her grade to find their heights in inches. The heights are below.have a grate day and thx for helping67, 63, 69, 72, 77, 74, 62, 73, 64, 71, 78, 67, 61, 74, 79, 57, 66, 63, 62, 71 ,73, 68, 64, 67, 56, 76, 62, 74Create a histogram that correctly represents the data.Reset Next (a) A box contains 7 red balls, 6 white balls, and 7 black balls. Two balls are drawn at random from the box (with replacement of the first before the second is drawn). What is the probability of getting a red ball on the first draw and a white ball on the second Which of the following elements would be a +2 cation?Vanadium (V)Oxygen (0)Helium (He)Strontium (Sr) If a bag contains 10 blue marbles, 5 green Marbles, and 3 red marbles, What is the ratio of red marbles to all Marbles? be sure to simplify/ an equivalent ratio I need help with this please 2x + 6 = 6x - 22 how many solutions does this have The sum of 13 and 3 times a number is 31. What is the number? Hiii, need help on this please guys! Use context clues to determine the meaning of the word sagely as it is used in the text the outsider A couple has a joint net worth of $12,000,000. If one dies in 2021, the taxable amount of the estate is: