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

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

TCP and the User Datagram Protocol (UDP) provide _________ between processes on any two of those hosts. A. address translation B. reliable transport C. data transport D. performance enhancements

Answers

TCP is known to be a type of a connection-oriented protocol, while UDP is a connectionless protocol. TCP and UDP provide data transport between hosts.

TCP and UDP are known for their speed, as TCP is slower and can retransmit lost data packets than UDP. UDP is said to be faster, simpler, and efficient protocol.

Data transport is simply known to be an the energy problem. It is the amount of energy needed to transport a bit from the closest neighbor.

Data Transport Service gives  a reliable connection for moving large amounts of data at very fast speeds.

Learn more from

https://brainly.com/question/17695822

Select the correct text in the passage.
Which three phrases describe a wireframe?

Tracy uses a (pictorial summary of an entire website) in her team meeting. It is a (two-dimensional illustration) of how (each web page on a website will look.) Known as a workflow diagram, this (explains how pages in a website connect to one another.) It is a (design tool), and it (shows the overall framework of a website.) It is a (visual representation of how much space each element on a page should take.)

Answers

Answer:

A B D

Explanation:

The type of software used in soa architecture is often referred to as what?.

Answers

Answer:

software-as-a-service

Explanation:

What is the process of proving that users are who they say they are, and confirming that they are authorized to access accounts

Answers

Answer:

User authentication

Explanation:

The area of the spreadsheet highlighted in red is the _____.

cell C1

formula bar

row C

column C

Answers

A spreadsheet is a software application which is used to display numerical data in a tabular form. It has further functions which includes organizing, displaying, calculating data, etc where the data can be viewed at a glance and retrieved from memory.

There are different types of spreadsheet which includes:

G00gle SheetMicrosoft ExcelLibreOfficeSmartsheet, etc.

Data can be arranged in rows and columns.

Please note that your question is incomplete so I gave you a general overview to help you get a better understanding of the concept.

Read more here:

https://brainly.com/question/22101774

Answer:

column C

Explanation:

i got it right

How to combine multiple documents into one pdf.

Answers

Answer:

How to combine and merge your files into one PDF: Open Acrobat DC to combine files: Open the Tools tab and select "Combine files." Add files: Click "Add Files" and select the files you want to include in your PDF. You can merge PDFs or a mix of PDF documents and other files.

Explanation:

PLEASE HELP ME FASTTTTTT Input statements allow the user to enter data that a program uses to perform necessary computations. Users enter the data when they the program.

Answers

Answer:

The scanf() is the function that is used to take inputs from the user with the help of the standard input device,i.e, the keyboard.

scanf() function is capable of taking any data type as an input, though it has to be specified first like %d for integers, %s for strings and %f for floating-point type. The gets() function can only take a string as an input.

Explanation:

Answer:

ur

Explanation:

ur mom

A client is looking to maximize value from its Cloud investments by baselining, profiling, and prioritizing its human capital needs.Which myNav module will help this client?

Answers

myNav is to be present inn the Accenture software. It aim is to helps companies manage the human, technology and business dimensions of cloud change. The myNav module that will help this client is Cloud Advisor.

Cloud Advisor is simply known to be one of the many modules within the myNav platform. It was set up to handle the difficulties of cloud for digital transformation.

These Advisors are  known worldwide community of technical resources. They have a thorough  knowledge of cloud technologies and practices.

Their mission is to know the trends, regulatory implications, and our clients' needs so as to help them to set goals and create plans to achieve their desired outcome.

Learn more from

https://brainly.com/question/24918185

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:

where on a computer is the operating system generally stored?

Answers

The operating system on a computer is generally stored at hard disk.

Typically, a data structure known as the Interrupt Vector Table stores the addresses of interrupt handlers (IVT). When an interrupt happens, the processor refers to the IVT, a table of fixed addresses in memory.

An interrupt is a signal sent to the processor of a computer or other digital device by a hardware component or software function to get the processor's attention. By allowing the processor execute numerous tasks at once, interrupts enable hardware devices to connect with the processor and software to run more effectively.

The interrupt handler, which is normally included in the operating system kernel, receives control when an interrupt occurs, causing the CPU to pause its ongoing task execution. The interrupt handler responds to the interrupt, which may entail resolving an error condition, processing data from a device, or performing input/output tasks. The processor resumes working on the interrupted job once the interrupt has been handled.

Learn more about Interrupt here:

brainly.com/question/29770273

#SPJ6

from which Menu option you can change page setup in MS Word​

Answers

page layout tab or the page setup dialog box

You receive a worksheet in which the rows are numbered 1, 2, 3, 5,6. This means that row 4 is _____.

Answers

People often hide cells of worksheet due to different reasons. This means that row 4 is hidden.

A worksheet is commonly know as a sheet of paper/computer sheet with which work is done or performed.

 

An individual can hide any worksheet so that it can be removed from their view. The data in hidden worksheets is not visible to the person, but it can still be referenced from other worksheets and workbooks. One can unhide hidden worksheets if need be.

Learn more from

https://brainly.com/question/17106092

What would the objective of the game be?
What would the operation of the game be?
What obstacles would your players experience?
What outcomes would you like to see in the game?
What sorts of themes, lessons, or skills would you like to express through your game?
What kind of person do you think would enjoy playing your game?

Answers

Answer:

Fresh out of college, Barry the Bee (Jerry Seinfeld) finds the prospect of working with honey uninspiring. He flies outside the hive for the first time and talks to a human (Renée Zellweger), breaking a cardinal rule of his species. Barry learns that humans have been stealing and eating honey for centuries, and he realizes that his true calling is to obtain justice for his kind by suing humanity for theft.

A file ____ shows the location of a file or folder

Answers

Answer:

Path

Explanation:

correct answer: Path

(Hope this helps can I pls have brainlist (crown)☺️)

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

When resizing images or objects in a presentation, why should a user not utilize the sizing handles in the middle of the sides or bottom of an image?

B will resize but not maint aspect ratio was correct

Answers

Answer:

b. It will resize the image but not maintain aspect ratio

Explanation: is correct. post protected

Answer:

b

Explanation:

What is the largest integer that can be represented with 4 bits?.

Answers

Answer:

15

Explanation:

You can calculate the maximum number using a simple formula:

2^N (Where N is the number of bits) - 1

So 2^4 - 1 = 16 - 1 = 15

What does angularfirestoremodule. Enablepersistence() do.

Answers

What is the question

there is nothing clear stated here

it literALLY HAS NOTHING TO DO WITH MY ASSIGNMENT

Answers

Ansgokublue

Explanation:

3 out of 5 citizens were eligible to vote 180 actually voted

Answers

Answer:

What is the question.

Explanation:

Answers:

Either 108/180

or 180/300

Depending on question since I dont know what ur asking

what is an operating system that controls some aspects of the computer?

(not very well phrased, ik, it's coming from a crossword for one of my classes assigned as a snow day thing. looking for a seven letter word)

Answers

central processing unit (CPU), computer memory, file storage, input/output (I/O) devices, and network connections.

Answer: Windows

Explanation:

examples of operating systems include

windows

mac

linux

windows has seven letters

Which tools exist on the 3-D Map Layer pane? Check all that apply. filter options layer options time visualization category visualization Udata layer visualization data value visualization​

Answers

Answer:

filter options

layer options

category visualization

data value visualization

Explanation:

Systems management involves allocation of computer resources to keep all processes operating smoothly and at maximum efficiency. What aspects of computing do systems management tools handle? Which ones do you think are the most important? Why?

Answers

Answer:operating system (OS), program that manages a computer's resources, especially the allocation of those resources among other programs. Typical resources include the central processing unit (CPU), computer memory, file storage, input/output (I/O) devices, and network connections.

Explanation:

The important systems management tools are:

Resource Allocation

Performance Monitoring

Software Deployment and Updates

Backup and Recovery

Remote Management

Inventory and Asset Management

Given data:

Systems management tools handle a variety of aspects in computing to ensure the smooth and efficient operation of computer systems. Some of the key aspects that systems management tools handle include:

Resource Allocation: These tools manage the allocation of hardware resources such as CPU usage, memory, and storage to different processes and applications. They prioritize resource distribution to ensure optimal performance.

Performance Monitoring: Systems management tools monitor the performance of various components and processes, tracking metrics like CPU usage, memory utilization, network traffic, and disk activity. This helps identify bottlenecks and areas for optimization.

Software Deployment and Updates: They facilitate the installation, deployment, and updating of software applications and patches across multiple devices or servers in a network.

Backup and Recovery: Systems management tools handle data backup, disaster recovery, and data restoration to prevent data loss and ensure business continuity.

Remote Management: Many tools enable administrators to manage and troubleshoot systems remotely, reducing the need for physical presence and minimizing downtime.

Inventory and Asset Management: These tools track hardware and software assets, helping organizations maintain an accurate inventory and plan for upgrades or replacements.

To learn more about system management tools, refer:

https://brainly.com/question/29713596

#SPJ3

A _____ is the viewing area for a web page, which is much smaller on a phone than on a traditional desktop.

Answers

A viewport is the viewing area for a web page, which is much smaller on a phone than on a traditional desktop .

True or false: Because there are so many different network configurations, operating systems, and strategies, it is a challenge for organizations to get their networks to work together effectively and securely.

Answers

Answer:

I think the answer is "true."

Explanation:

Because as you may know, there are many hackers and types of people who get private information from people. And different organizations must work together like you said. This requires a lot of brainstorming and connecting. It's a challenge because it needs many ideas, needs a lot of time for thinking, and making sure whatever they are doing is safe. (This is in my opinion)

You have been asked to create a file that will contain a series of Windows command-prompt commands that automate the creation of a VPN client that connects to your company VPN server. What type of file should you create

Answers

Based on the information given, the type of file that the user should create is the batch file.

Batch file simply means a script file in Microsoft Windows. A batch file consists of a series of commands that will be executed by the command-line interpreter.

Since the user has been asked to create a file that will contain a series of Windows command-prompt commands that automate the creation of a VPN client, the batch file will be vital in this case.

Read related link on:

https://brainly.com/question/25520771

If the value is set to equals to current entry then
a) the argument remains unchanged
b) the argument always changed
c) the argument will be deleted
d) the argument can be ignored
I will definitely mark you Brainliest for answering the correct answer!​

Answers

Answer:

this is a fallacy

a is the answer

Read what is in the commets.

Answers

Answer:

I'm a little confused on what you are asking, could you please explain.

W]hen a cryptographic system is used to protect data confidentiality, what actually takes place?

Answers

Answer: the Engine

Explanation:

once the engine take place its moves and goes faster

Other Questions
please help meeeeeeeeeeeeeee....T.TWe'll perform a song called Santa Tell me. I have to choose a costume for a performance, what should i wear!!!T.T I need to win next class and it should be perfect..If you have other ideas, plz write)) Which of the following is a difference between phase i and phase ii of meiosis?(1 point). Competition was fierce. People spoke of nothing else in the days that _________, admiring the winner and promising themselves that one day, their own kite would fly proudly over the town. In which process are glucose and oxygen the reactants?cellular respirationphotosynthesisATP productionADP production A worker pushes on a crate that experiences anet force of 75 N. If the crate also experiencesan acceleration of 0.50 m/s^2, what is itsweight? What is the kinetic energy of a 3-kilogram bali that is rolling at 2 meters per second Which BEST describes a similarity or difference in the authors' purposes? A) Douglass' passage reveals that his interest in railroads was greater than Grady's interest in railroads. Eliminate B) Sibley's passage reveals that Grady's interest in railroads was greater than Douglass' interest in railroads. C) Both passages reveal a great interest in one law, one government, and one administration for men of all races. D) Both passages reveal a great interest in railroads during the reconstruction of the South after the Civil War. Which country wasa member of the Central Powers?RussiaO SerbiaItalyOttoman Empire Learning Task 2: Solve each proportion1) 5/12 = 35/ n2) n/ 52 = 180/ 1203) 18/n = 21/284) n/4 = 24/65) 10/16 = n/56 Write as a fraction 3151 Veronica lives on a straight road that goes east and west. She starts from a point 5.1 miles west of her home and drives a certain distance to the store. The store is more than 3 1/2 miles east of her home. Let d represent the distance Veronica drove. Which inequality represents this situation? In what respect does 3s sub-Shell differ from 4s sub-shell? Does anyone know all the awnsers for the SC-Human Geography Unit test expand the logarithm as much as possible using properties. please help! log square root on 1,000,000x Josiah has a loyalty card good for a discount at his local grocery store. The item he wants to buy is priced at $33, before discount and tax. After the discount, and before tax, the price is $30.69. Find the percent discount.Will mark BRAINLIEST I Promise. (Q002) Which of the following best explains the very large increase in the number of sugar works inJamaica during the eighteenth century?o African states wanted to increase the number of slaves being exported in order to buy morefood.o The British were trying to grow more sugar than the Dutch East India company was importingfrom Asia.o European demand for sugar increased.O Taxing sugar was an important way for the British government to make up its trade deficit withJamaica. I dont know how im supposed to do this its basically dividing a fraction with a fraction or something Service providers like cable companies have tiered pricing and also charge their customers according to a schedule of fees. Sometimes customers are able to negotiate for a lower price by getting fees or service charges waived for a certain amount of time if they contact customer service and threaten to cancel their service. The flexibility on the part of service providers is an attempt to practice:_________ Imagine that you are toasting marshmallows using a metal stick over an open fire at your campsite.Which of the following is the effect of radiation in this scenario?Radiation causes heat to warm the entire campsite.Radiation causes the metal stick to increase in temperature.Radiation causes heat from the fire to warm the air.Radiation causes hot air to move up to toast the marshmallow. Which type of security is specifically concerned with computers or devices that are part of a network infrastructure