Prompts the user to enter a series of strings

Assignment Help Financial Management
Reference no: EM132382436

Question

program4_1.py

Uses a for loop with the range function to inspect all integers from 300 down to 1. See page 170-172 to learn about the range function. Code in the loop should find exact multiples of 23 and print them in fields 5 characters wide on one line. The loop should also determine two totals; the total of the even multiples and the total of the odd multiples of 23. When the loop ends, the program should display these two totals.

program4_2.py

Selling a new vehicle pays a salesperson $1500. Selling a used vehicle pays a commission of 5% of the selling price. use interactive program that calculates a salesperson's total pay for selling two vehicles, each one of any type. The program should prompt the salesperson to enter the type & selling price of each vehicle. Do not use a loop. The program should then display the salesperson's total sales and total pay. Express these amounts in currency format as described in the requirements above.

You were specifically instructed not to use a loop to process the sale of two vehicles. In fact, this problem can be much better addressed with a loop. use a loop to solve this problem.

program4_4.py

Prompts the user to enter a series of strings, but with each string containing a small integer. Use a while loop and stop the loop when the user enters a zero. When the loop has finished, the program should display:

the number of user inputs (not counting the final zero input).

the total of the integers in the strings entered.

the average of the integers accurate to one decimal place.

Reference no: EM132382436

Questions Cloud

List of integers path that represents a proposed path : Create function post_time that returns how long it will take Johnny's card to travel the given path using divide and conquer.
PROJ6009 Business Process Management and Systems Assignment : PROJ6009 Business Process Management and Systems Assignment help and solution, Torrens University Australia, Assessment help - analyse the role of management
Expected value and standard deviation of rate of return : What is the expected value and standard deviation of the rate of return of your client's portfolio?
Create the blog and relevant pages : For this Project - You just need to create the blog and relevant pages. You don't have to write posts. What needs to be done is mentioned in detail here
Prompts the user to enter a series of strings : Prompts the user to enter a series of strings, but with each string containing a small integer. Use a while loop and stop the loop when the user enters a zero.
Find the time when the concentration will return back : Suppose a reactor normally contains 12 units of dissolved oxygen in a fixed volume of water. Suppose at t=0(min) a quantity of organic waste is introduced.
ISY3001 e-Business Fundamentals and Systems Assignment : ISY3001 e-Business Fundamentals and Systems Assignment Help and Solution - Australian Institute of Higher Education, Australia
EDEC102 Foundations of Early Childhood Class Assignment : EDEC102 Foundations of Early Childhood Class Assignment help and solution, Excelsia College, Assessment help - How would this theory align with the precepts
Report the total number of pies you can make : Prompt the user for the # of crust, meat, corn, and potatoes they have. Report the total number of pies you can make, and the leftover ingredients.

Reviews

Write a Review

Financial Management Questions & Answers

  Foreign company acquisition

Acquisition by a foreign company and the effects of that decision and the results of foreign exchange in Euro and the exchange rate differences.

  Financial management for profit and non profit organizations

In this essay, we are going to discuss the issues of financial management in a non-profit organisation.

  Method for estimating a venture''s value

Evaluate venture's present value, cash and surplus cash and basic venture capital.

  Replacement analysis

This document show the Replacement Analysis of modling machine. Is replacement give profit to company or not?

  Business finance task - capital budgeting

Your company is considering using the payback period for capital-budgeting. Discuss the advantages and disadvantages of this technique.

  Analysis of the investment

In this project, you will focus on one of these: the additional cost resulting from the purchase of an apple press (a piece of equipment required to manufacture apple juice).

  Conduct a what-if analysis

Review the readings and media for this unit, including the Anthony's Orchard case study media. Familiarise yourself with the Anthony's Orchard company and its current situation.

  Determine operational expenditures

Organisations' behaviour is guided by financial data. In the short term, such data will help determine operational expenditures; in the long term, historical data may help generate forecasts aimed at determining strategic plans. In both instances.

  Personal financial management

How much will you have left over each half year if you adopt the latter course of action?

  Sources of finance for expansion into new foreign markets

A quoted company is considering several long-term sources of finance for expansion into new foreign markets.

  Long term financial planning

This assignment is designed for analyze Long term financial planning begins with the sales forecast and the key input in the long term fincial planning.

  Explain the role of fincial manager

This assignment explain the role of fincial manager, function of manger. And what are the motives of financial manager.

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