Displays the accumulated total to the user

Assignment Help Business Management
Reference no: EM131279961

1. Design a for loop that gets 6 integer numbers from a user, accumulates the total of them, then displays the accumulated total to the user. Just write the code segment to show what is asked, not a complete program. however, declare any variables that you need to use. Use a semicolon (;) at the end of each line of code so I can tell when you use a new line in your code.

2. Design a while loop to get a series of numbers from a user; the loop stops when the user enters a negative number. For each number the user enters, the number is multiplied by 5 then the product is displayed on the screen. Be sure to declare the variables that you will use; include the code needed to prompt the user and the code segment needed for the loop to work without error; and, place a semicolon at the end of each line of your code so I can easily read it.

3. Write the pseudocode for a function definition that is named toOunces. The function is to accept an argument from the calling module for the number of pounds (as real data type). The function is to change the number of pounds sent to total number of ounces in the pounds. The function returns the number of ounces calculated.

4. Write a single pseudocode statement that calls a function named calcTax and assigns the return value to a variable named taxAmount. The statement also sends two arguments: a sales amount of $1,248.50 as the first argument and a rate of .0775 as the second argument.

Reference no: EM131279961

Questions Cloud

Is anonymity the best solution to privacy : MRKT 410 7980 Consumer Behavior,MRKT 395 7980 Managing Customer Relationships Trust and Privacy,BMGT 464 7980 Organizational Behavior, Who owns a customer's information? Who should profit from it? How would that work?Is anonymity the best solution to..
Application of these concepts-preferably from personal : Define human resource (HR) management and explain how it relates to the management process. Cite examples of the application of these concepts, preferably from personal, professional experience. 2. What is the difference between a strategy, a vision,..
Find the power spectral density of x : Find the power spectral density of X(t) in terms of the probability density function of the frequency F.- What happens to this power spectral density when the randomized frequency F assumes a constant value?
What trading strategy in the stock : Consider a European call option on Globex Industries. This security gives the holder the right to buy a share of Globex in one year (the expiration date) for a pre-specified price X called the strike price.
Displays the accumulated total to the user : Design a for loop that gets 6 integer numbers from a user, accumulates the total of them, then displays the accumulated total to the user. Just write the code segment to show what is asked, not a complete program. however, declare any variables th..
Discuss the relative use of nonverbal behaviors : Discuss the relative use of nonverbal behaviors, such as silent periods, interruptions, facial gazing, and touching, by people from various cultural backgrounds. How does this behavior affect the negotiation process in a cross-cultural context?
Generation language programming language : Describe how a third generation language programming language is used in conjunction with SQL to develop database applications.
Layering and internetworking make the rapid growth : Explain how the notion of layering and internetworking make the rapid growth of applications such as the World Wide Web possible.
Ethical code of conduct in cs : Create an Annotated bibliography for 3 articles you have read. Insure you use the proper APA style for citing your references

Reviews

Write a Review

Business Management Questions & Answers

  Describe what is included and excluded in bad debts

Discussion was thorough and included topics such as cost shifting and higher private insurance rates. Used more than one authoritative resource to support stakeholder identification. Research extended beyond the textbook.

  Make cabinet according to the buyer''s specifications

Explain A customer requested a price from a carpenter on a teak cabinet to be built according to the buyer's specifications

  Problem regarding the product design

In this assignment, you will need to think about the design, manufacture, and assembly of your laptop or desktop computer. In a 4- to 5-page Microsoft Word document, create a report describing the process needed to manufacture your computer. Includ..

  What is an assistive technology system

What is a virtual reality system? Identify four areas of virtual reality application. - What is an assistive technology system?

  Explain should macy''s continue its excellent gift wrapping

Explain Should Macy's continue its excellent gift wrapping program and is a counterbiasing statement.

  What will be the average order quantity

Dr. Jack targets a 99 percent expected fill rate. What order-up-to level should he choose? - What will be the average order quantity?

  Social responsible risk management

What is the definition of socially responsible risk management and How would you go about enacting a more socially responsible risk management strategy in your current workplace? Brief explanation.

  Breakeven point whenever possible

Management should constantly monitor the breakeven point, particularly in regard to the most vital items. Highlight the various ways to reduce the breakeven point whenever possible.

  Examine the degree to which organizational characteristics

Examine the degree to which organizational characteristics such as formalization, specialization, and centralization influence each MNC's organizational structure and functions.

  How do customers and their needs drive organizational change

How do customers and their needs drive organizational change? What is the role of direct reports for innovation within a company or work unit?

  Demand for watershow list ways that consumers would use

demand for watershow list ways that consumers would use less if the price of water were raised. demonstrate that water

  What you consider to be your own leadership stylewhat do

what you consider to be your own leadership style?what do you consider to be your own leadership style? using examples

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd