Design the logic for a program that allows a usher to continuously enter numbers until the usher enters 0. Display the sum of the numbers entered.

Answers

Answer 1

int sum = 0, n;

do {cin>>n; sum+=n;}while (n!=0);

cout<<sum;


Related Questions


Spreadsheet software enables you to organize, calculate, and present numerical data. Numerical entries are called values, and the
instructions for calculating them are called.

Answers

Answer:

It's called coding frame

Do you think that dealing with big data demands high ethical regulations, accountability, and responsibility of the person as well as the company? Why?

Answers

Answer:

i is struggling

Explanation:

explain please how to get the result . I have the answer key but I don’t understand how to get it

explain please how to get the result . I have the answer key but I dont understand how to get it

Answers

The modified lines in the program are:

Line 10: Added the instruction to increment the letter by 3.

Line 25: Changed BEQ $s3, $5, DONE to if (counter == 5) { break; }.

Line 29: Added continue; to jump back to the SETUP for loop.

How to show the modified program

#include <iostream>

using namespace std;

int main() {

   char to = 'A'; // Set $to at 65 (A)

   int counter = 1; // Store 1 in a register

   char stack[5]; // Set up stack

   

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

       stack[i] = to; // Store the current letter in the stack

       

       // Increment the letter

       to += 3;

       

       // Increment the counter by 1

       counter++;

       

       // Jump to done if counter == 5

       if (counter == 5) {

           break;

       }

       

       // Jump back to SETUP for loop

       continue;

   }

   

   // Null (0) to terminate string

   stack[4] = '\0';

   

   // Print the string

   cout << stack << endl;

   

   return 0;

}

Learn more about Program on

https://brainly.com/question/26642771

#SPJ1

What is the main difference between Trademarks and Copyrights?



Trademarks have not enter the Public Domain as long as the company exists.


Trademarks convert any mark you make into a copyrightable IP


Trademarks give you the right to trade IPs with other companies.


Trademarks allow you to get around the copyright laws and keep your IP from entering Public Domain.


Giving brainliest if it’s right.

Answers

Answer:

copyrights protect creative or intellectual works, and trademarks apply to commercial names, phrases, and logos

Explanation:

A ______ can hold a sequence of characters such as a name.

Answers

A string can hold a sequence of characters, such as a name.

What is a string?

A string is frequently implemented as an array data structure of bytes (or words) that records a sequence of elements, typically characters, using some character encoding. A string is typically thought of as a data type. Data types that are character strings are the most popular.

Any string of letters, numerals, punctuation, and other recognized characters can be stored in them. Mailing addresses, names, and descriptions are examples of common character strings.

Therefore, a string is capable of storing a group of characters, such as a name.

To learn more about string, refer to the link:

https://brainly.com/question/17091706

#SPJ9

if you want to assign a user the permission to create schema and run ALTER or any user, what role should you assign to that user?
A. dp_backupoperator
B. db_accessadmin
C. db_securityadmin
D. db_datawriter

Answers

As a database administrator, if you want to assign a user the permission to create schema and run ALTER or any user, the role should you assign to that user is "db_accessadmin" (Option B)

What does it mean to run ALTER?

In SQL, the ALTER command is used to modify a table, view, or the whole database. The ALTER command in SQL allows us to add, change, and delete constraints, columns, and indexes.

It is to be noted that SQL is a computer language developed for managing data in a relational database management system or for stream processing in a relational database management system.

Learn more about database administrator:
https://brainly.com/question/13040754
#SPJ1

If you wanted to securely transfer files from your local machine to a web server, what file transfer protocol could you use?

Answers

Answer:

SFTP protocol

Explanation:

FTP (file transfer protocol) is used for transferring files from local computers to a website or server but unfortunately, a file transfer protocol is not a secure method.

So, we have to used SFTP (secure file transfer protocol) at the place of file transfer protocol to move local files on the website server securely.

Will give brainlest pls pls pls help​

Will give brainlest pls pls pls help

Answers

Answer:

graphs photos files

Explanation:

...

Answer:

COMPUTER

GRAPHS

Explanation:

What are the core steps to add revisions or features to a project?(1 point)
Responses

Evaluate feasibility of the goals, create a list of functionality requirements, and develop the requirements of the feature.

Evaluate feasibility of the goals, develop programming solutions, and evaluate how well the solutions address the goals.

understand the goals, evaluate the impact on the project, create a list of functionality requirements, and develop the requirements of the feature.

Communicate with the client, create a sprint backlog, develop the project, and evaluate how well the solution fits the requirements.

Answers

The core steps to add revisions or features to a project are ""Understand the goals, evaluate the impact on the project, create a list of functionality requirements, and develop the requirements of the feature." (Option C)

How  is this so?

 

The core steps to add revisions or features to a project include understanding the goals,evaluating the impact on   the project, creating a list of functionality requirements,and developing   the requirements of the feature.

These steps ensure that the goals are clear, the impact is assessed, and the necessary functionality is identified and implemented effectively.

Learn more about project management at:

https://brainly.com/question/16927451

#SPJ1

Use the drop-down menus to complete statements about how to use the database documenter

options for 2: Home crate external data database tools

options for 3: reports analyze relationships documentation

options for 5: end finish ok run

Use the drop-down menus to complete statements about how to use the database documenteroptions for 2:

Answers

To use the database documenter, follow these steps -

2: Select "Database Tools" from   the dropdown menu.3: Choose "Analyze"   from the dropdown menu.5: Click on   "OK" to run the documenter and generate the desired reports and documentation.

How is this so?

This is the suggested sequence of steps to use the database documenter based on the given options.

By selecting "Database Tools" (2), choosing "Analyze" (3), and clicking on "OK" (5), you can initiate the documenter and generate the desired reports and documentation. Following these steps will help you utilize the database documenter effectively and efficiently.

Learn more about database documenter at:

https://brainly.com/question/31450253

#SPJ1

Which activity is a primary manufacturing process?
A refining raw material
B casting
C molding
D welding joints
E painting a clear coat

Answers

A is the answer for the question

How do you use a what if analysis data table?

Answers

Answer:

Select the range of cells that contains the formula and the two sets of values that you want to substitute, i.e. select the range – F2:L13.Click the DATA tab on the Ribbon.Click What-if Analysis in the Data Tools group.Select Data Table from the dropdown list.

a really excellent way of getting you started on setting up a workbook to perform a useful function.

Answers

Templates a really excellent way of getting you started on setting up a workbook to perform a useful function.

What is the workbook  about?

One excellent way to get started on setting up a workbook to perform a useful function is to begin by defining the problem you are trying to solve or the goal you want to achieve. This will help you determine the necessary inputs, outputs, and calculations required to accomplish your objective.

Once you have a clear understanding of your goal, you can start designing your workbook by creating a plan and organizing your data into logical categories.

Next, you can start building the necessary formulas and functions to perform the required calculations and operations. This might involve using built-in functions such as SUM, AVERAGE, or IF, or creating custom formulas to perform more complex calculations.

Read more about workbook here:

https://brainly.com/question/27960083

#SPJ1

Place yourself in the position of a network designer. You have customers that are looking to improve their network but need your help. Read over each scenario to get an idea of what the customer currently has and what they will need of the new network. Customer may not always know exactly what they need so reading in between the lines is a great skill to start working on.

After picking out the requirements the customer is in need of solving, complete research on real world devices that may be a good fit for them. This can include new devices, services and cables depending on the customers' needs. Once you have finished your research make a list of the devices you are recommending to the customer. Each device/service will need an explanation on why you chose it, the price, link to the device and a total budget for reach scenario. Think of your explanation as a way of explaining to the customer why this device would fit their specific needs better than another one.

There is no one way of designing any network. Your reasoning for choosing a device is just as important as the device itself. Be creative with your design!
Scenario A: young married couple, the husband is an accountant, and the wife is a graphic designer. They are both now being asked to work from home. Their work needs will be mainly accessing resources from their offices but nothing too large in file size. They have a 2-story townhome with 1600 square feet space. There is a 2nd floor master bedroom with a streaming device, a 1st floor office space with a streaming device and living room with a 3rd streaming device. The wife works from the master bedroom while the husband works mainly in the office space. Their ISP is a cable provider, and they have a 200 Mbps download and a 50 Mbps upload service account. The cable modem is in the office space and they currently pay $5 a month to have an integrated wireless access point (WAP) but no ethernet capability. The office space will need to have a LaserJet printer connected to the network via ethernet Cat-5E cable. They want to stop paying the monthly $5 and have their own WAP. The WAP needs to have an integrated switch that can provide them reliable work-from-home connectivity, with at least 4 ethernet ports for growth, and steady streaming capability for their personal viewing. Budget for the network infrastructure improvement is under $2500.

Answers

The Ubiquiti Networks UniFi Dream Machine (UDM) is the perfect instrument to fulfill the couple's networking requirements.

What does it serve as?

The all-inclusive device serves as a Router, Switch, Security gateway, and WAP delivering stable home-working performance. It provides four Ethernet ports operating at the most advanced WiFi 6 specifications, enabling convenient streaming for entertainment.

Besides its user-friendly mobile app assisting with setting up and management processes, the UDM accommodates VLANs so users can segment their network in order to heighten security.

Costing around $299 – obtainable from either Ubiquiti’s site or Amazon - and Cat-6 Ethernet cables costing roughly $50 for every five on Amazon, the total expenditure comes to $350, conveniently fitting in the prearranged budget of $2500.

Read more about budget here:

https://brainly.com/question/6663636

#SPJ1

What characteristics are common among operating systems? List types of operating systems, and examples of each. How does the device affect the functionality of an operating system?

Answers

The operating system (OS) controls all of the computer's software and hardware. It manages files, memory, and processes, handles input and output, and controls peripheral devices like disk drives and printers.

What are the characteristics of OS?The fundamental software applications running on that hardware enable unauthorized users to interact with the equipment because instructions can be sent and results can be obtained.Developers provide technology that may be compatible, mismatched, or completely incompatible with several other OS categories across multiple versions of the same similar OS.The operating systems are frequently 32-Bit and 64-Bit in two different versions.Types of Operating System:

         Distributed OS .

         Batch processing OS.

         Time sharing OS.

To learn more about operating system refer to :

https://brainly.com/question/22811693

#SPJ1

Mission statement base on shoes company ? Help me

Answers

Here are 2 examples:

- Bringing comfortable walking, running, biking, and adventuring to the world.

- Transforming the way you live your life, two soles at a time.

A mission statement should be focused on what a company is about at its core roots. What's the driver for why the company does what it does? Often it is related to why a company is relevant in its industry.

Our mission statement is to offer our customers with an athletic footwear product that has desirable performance attributes such as impeccable quality, enhanced features, comfort and its diverse assortment of vibrant colors, trending styles, and exclusive designs.

why does computer need memory​

Answers

so that they can store your things you download.

Answer:

To Help you keep your cherisable and memorable moments.

Which of these methods can you use to insert a new row in a worksheet?
(Select all that apply.)
A Right-click or access the context menu for a row number, select Insert
B Right-click or access the context menu for a column header, select Insert
C Right-click or access the context menu for a cell, select Insert Entire Row
D Home, Cells group, Insert > Insert Sheet Rows

(will give thanks and brainlet)

Answers

Answer:

I think It should be B

Explanation:

If wrong so please sorry

Method to insert a worksheet.

A worksheet is a Microsoft excel software program that is developed to create and store data just like on a sheet of paper that can be sued to process and solve problems. It is a collection of numbers of rows and columns.

Thus the answer is right click on the context menu for a column header and selects the insert option.

The worksheet is a software program that is designed for working with huge amounts of data and can be used for solving problems and by the option of right-clicking the menu for column header and inserting the data.Thus the option B is correct.

Learn more about the methods can.

brainly.com/question/2777356

research the risk of social media and list 3 websites that have information about the topic instead of the one you listed on your chart.

Answers

1) Social Life decreased
2) Missing opportunity’s
3)Passing Time

//Declare variables to hold
//user's menu selection

translate this to pseudocode code?

Answers

The provided pseudocode is a simple and original representation of declaring a variable to hold the user's menu selection. It prompts the user for input, accepts and stores the value in the `menuSelection` variable. This pseudocode is plagiarism-free and can be used as a basis for further program logic.

Here's the pseudocode to declare variables to hold the user's menu selection:

```DECLARE menuSelection AS INTEGER

// Prompt the user for menu selection

DISPLAY "Please enter your menu selection: "

ACCEPT menu Selection

// Rest of the program logic...

```In this pseudocode, we declare a variable called `menuSelection` to hold the user's menu choice. It is declared as an integer type, assuming the menu options are represented by integers.

After declaring the variable, the program can prompt the user to enter their menu selection. The `DISPLAY` statement is used to show a message to the user, asking for their input.

The `ACCEPT` statement is used to receive the user's input and store it in the `menu Selection` variable.

Following this code snippet, you can proceed with the rest of your program logic, using the `menu Selection` variable as needed.

Regarding the main answer, the provided pseudocode is original and does not involve any plagiarized content. It is a simple representation of declaring a variable to hold the user's menu selection, which is a common practice in programming.

For more such questions pseudocode,Click on

https://brainly.com/question/24953880

#SPJ8

Which type of metal will rust - ferrous or non-ferrous?​

Answers

Explanation:

Ferrous metals contain IRON ...  which will rust (form Iron oxide)

Directions and Analysis Task: Sales and Marketing Activities of a Company Select a publicly held company that is well-known for marketing its products. Search its website and procure a few years' sales reports and annual reports, including sales and revenue graphs. You could choose any Fast Moving Consumer Goods (FMCG), mobile, or automobile company-or a company dealing in anything else that interests you. Analyze the company's sales data and revenue figures, and write an essay summarizing the company's performance over the last few years.​

Answers

The company I chose for this analysis is Apple Inc., a technology giant well known for its marketing efforts.

What is technology?

Technology is an ever-evolving field that encompasses a wide range of tools, processes, and techniques used to create products and services that meet the needs of society. It is the application of scientific knowledge for practical purposes, and can refer to a variety of different fields, including engineering, computer science, mathematics, and the natural sciences. Technology can be used to create new products, improve existing products, and even revolutionize entire industries.

Apple Inc. is a multinational company that designs, manufactures, and sells consumer electronics, computer software, and online services. Apple Inc. is one of the world’s most valuable companies and is currently the largest technology company in the world in terms of revenue.

To learn more about technology

https://brainly.com/question/30490175

#SPJ1

HEYYY! you're probably a really fast typer can you please type this for me! i tried copying and pasting it but it wouldn't let me!!! sooo can you please be a dear and kindly type it for me ^^

what i want you to type is directly in the image so please type exactly that

i dunno what subject this would be under so i'll just put it in any

HEYYY! you're probably a really fast typer can you please type this for me! i tried copying and pasting

Answers

Answer:

here you go. wish you a great day tomorrow.

and in fact,computer science is somewhat the right category

Abstract art may be - and may seem like - almost anything. This because, unlike the painter or artist who can consider how best they can convey their mind using colour or sculptural materials and techniques. The conceptual artist uses whatever materials and whatever form is most suited to putting their mind across - that would be anything from the presentation to a written statement. Although there is no one kind or structure employed by abstract artists, from the late 1960s specific tendencies emerged.

Question 4(Multiple Choice Worth 5 points)
(02.01 LC)
Choose the response that best completes the following statement.
"A computer uses
to follow a set of instructions."
binary
code
decode
logic

Answers

Answer:

ok

Explanation:

ok

ok

ok

ok its code boom

Answer:

binary

Explanation:

That’s a good point because of blank limitations

Answers

Answer:

I would assume so. Next time, please include the statement. Thank you!

I hope this helps, and have a wonderful day.

What is directing in principle of management and organization

Answers

Directing is one of the important functions of management in an organization. It involves guiding, motivating, supervising and leading the employees towards the achievement of organizational goals. The process of directing includes giving instructions, providing guidance and feedback, assigning tasks, setting standards, establishing communication channels, resolving conflicts, and creating a positive work environment. The directing function is important because it ensures that the employees are clear about their roles and responsibilities and that they are working towards the achievement of the organization's objectives. It involves effective communication and leadership skills to inspire and motivate the employees to perform at their best. Overall, directing is essential for the success of an organization as it enables the coordination of efforts towards the accomplishment of common goals.

you want to ensure that a query recordset is read-only and cannot modify the underlying data tables it references. How can you do that?

Answers

To guarantee that a query's recordset cannot make any changes to the original data tables, the "read-only" attribute can be assigned to the query.

What is the effective method?

An effective method to accomplish this is to utilize the "SELECT" statement along with the "FOR READ ONLY" condition. The instruction signifies to the database engine that the query's sole purpose is to retrieve data and not alter it.

The SQL Code

SELECT column1, column2, ...

FROM table1

WHERE condition

FOR READ ONLY;

Read more about SQL here:

https://brainly.com/question/25694408

#SPJ1

FILL IN THE BLANK. a __ area network is a type of wireless network that works within your immediate surroundings to connect cell phones to headsets, controllers to game systems, and so on.

Answers

A personal area network (PAN) is a type of wireless network that works within your immediate surroundings to connect cell phones to headsets, controllers to game systems, and so on.

A personal area network (PAN) is a type of wireless network that provides connectivity between devices in close proximity to each other, typically within a range of 10-meters. PANs are typically used for personal, non-commercial purposes and connect devices such as cell phones, headsets, personal digital assistants (PDAs), game controllers, and other small, portable devices.

PANs typically use low-power, short-range technologies such as Bluetooth, Infrared Data Association (IrDA), or Zigbee to establish connectivity. These technologies allow devices to communicate with each other wirelessly, eliminating the need for cords and cables and making it easier to connect and use the devices.

One of the main benefits of PANs is their simplicity and convenience. They allow you to quickly and easily connect devices in close proximity, eliminating the need for manual configuration or setup. Additionally, they use very low power, making them ideal for use with battery-powered devices.

Overall, PAN are a useful technology for individuals and small groups who need to connect their devices in close proximity for personal, non-commercial purposes.

Learn more about personal area network (PAN) here:

https://brainly.com/question/14704303

#SPJ4

I'm doing an assignment on access called Chapter 7-Creatinh Advanced Forms. You are lead electronically but it won't show me where the "Select all box in the subform". Thought this button I'm supposed to be allowed to remove navigation buttons on a form. Anything would help thank you!

Answers

To locate the  "Select all box in the subform",

Open the subform in the design view.Look for the subform control on the main form. It usually appears as a bordered box within the main form.Select the subform control, and in the properties pane or toolbar, locate the property related to navigation buttons or record selectors.The Select All Box is often an option within these properties.

What is the Select All Box?

It allows you to enable or disable the checkbox that selects all records in the subform.

By selecting records, you can perform operations on all selected records simultaneously, such as deleting or updating them. This feature is useful for managing data efficiently.

Use the "Select All" box to remove navigation buttons on the form.

Note that Advanced forms in Access refer to forms that go beyond the basic functionality of displaying and entering data.

They incorporate advanced features such as subforms, calculated fields, conditional formatting, data validation, navigation buttons, custom buttons, and more.

Learn more about Advanced Forms at:

https://brainly.com/question/23278295

#SPJ1

website is a collection of (a)audio files(b) image files (c) video files (d)HTML files​

Answers

Website is a collection of (b) image files (c) video files and  (d)HTML files​

What is website

Many websites feature a variety of pictures to improve aesthetic appeal and provide visual substance. The formats available for these image files may include JPEG, PNG, GIF, or SVG.

To enhance user engagement, websites can also introduce video content in their files. Web pages have the capability to display video files either by embedding them or by providing links, thereby enabling viewers to watch videos without leaving the site. Various formats such as MP4, AVI and WebM can be utilized for video files.

Learn more about  website  from

https://brainly.com/question/28431103

#SPJ1

Other Questions
Sam is rowing a boat away from a dock. The graph shows the relationship between time and Sams distance from the dock. Evaluate the function for an input of 6. What is the current labor force participation rate? Describe thetrend in the labor force participation rate over the past thirtyyears? What does the trend in the labor force participation ratetell Determine whether the series is absolutely convergent, conditionally convergent, or divergent. 22+1=1 10 Vn+8 n=13 Thell me the answer 5x=25 what is x 20POINTS, this is not free, answer ASAPBest answer gets BRAINLIEST If a blind pedestrian is waiting at a crosswalk with a white cane or a guide dog you must: A juice drink contains only 10% juice. how many quarts of pure juice must be added to 1 gallon of the juice drink to create a drink that is 60% juice? You are planning to use a ceramic tile design in your new bathroom. The tiles are blue and white equilateral triangles. You decide to arrange the blue tiles in a hexagonal shapes as shown. If the side of each tile measures 4 centimeters, what will be exact area of each hexagonal shape?A) 12cmB) 243 cmC) 192 cmD) 323 cm What will be a good topic to research about for a five paragraph research paper? a bird species lives inside a greenhouse, whatwould happen to the population size if i limitedthe amount of air inside the greenhouse? Samanthat has been invited interview that will be conducted in a behaviroal format she is changing career fields so she has? How do you find the distance between two objects in physics?. is 2(x+8)-3(y-7) linear or non linear? in determining the fire-resistance rating of an assembly through astm e119 test, which of the following properties of the assembly are investigated? HELP MEEEE the second estate was made up of __A. The nobles B. The clergy C. The peasants For the above question (DNA strand ATGGATCCGCTITAG), what is the tRNA sequence of anticodons? Recurrence T(n) = 2T(n/2) + nIn solving the recurrence T(n) = 2T(n/2) + n, what was the sequence of major steps that we took?1. Substitute 2^k for n2. Domain Transformation S(k) = T(n)3. Range Transformation R(k) = S(k)/2^k4. Telescoping Examine the unbalanced equation.KClO3 KCl + O2What is the best classification for the unbalanced equation's reaction?A.) decompositionB.) combustionC.) displacementD.) synthesis In this political cartoon, The Open Road, the people symbolize wealthy citizens of that era. improvements brought about by urbanization. types of people causing social injustices. urban problems of that time. mong many other influences, which helped to shape United States governmental documents, such as the Declaration of Independence and the Constitution?Athens' Council of 500Middle Eastern monarch ruleJudeo-Christian principlesthe fall of Sparta