Design algorithm determining annual profit for company

Assignment Help Data Structure & Algorithms
Reference no: EM1356111

Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company. The algorithm should ask the user for the projected monthly sales for 12 months. Then, you need to determine the annual profit and display it to the user. The annual profit is 21% of the total sales.
Part A: Using Visual Logic, write the monthly sales amounts to a file, monthly_Sales.dat. (Hint: be sure to enter a sentinel value for end of file processing later.)

Part B: Using a separate algorithm, use the monthly_Sales.dat file as input to determine the company's annual profit.

Be sure to THINK about the logic and design first (IPO chart and or pseudocode), then code the Visual Logic command line processing.

Reference no: EM1356111

Questions Cloud

Factors and benefits of global expansion : Explain what are some factors that may discourage organizations from expanding globally? What are some benefits of expanding globally?
Knowledge about operations management : Introduce implementation challenges in the selected operations management or situation and describe these challenges from the perspective of how they may affect the desired outcome for the organization or situation.
Outline on a subject of global warming : The purpose of the report is to convince members of Congress that there are 2 opposing viewpoints about the impacts of global warming and to explain these viewpoints.
Explain e-mail new employees with the packet attached : Explain E-mail new employees with the packet attached and request they complete it and e-mail it back within three days
Design algorithm determining annual profit for company : Your goal is to solve the following simple programming exercise. You have been asked by your accounting department to design an algorithm determining the annual profit for your company.
Provide reasons for doing market research : Determine the primary reasons for doing market research? How are primary and secondary information used in subsequent marketing including the use of questionnaires, observations, experiments, and panels?
Create program to calculate and display number of miles : Create a program to calculate and displays the number of miles per hour over the speed limit that a speeding driver was doing. The program should ask for the speed limit and the drivers speed.
Define identify the kind of societal expectation of behavior : Explain Identify the kind of societal expectation of behavior and what standard of behavior is most appropriate
Optimal sample definitions and data collection : It is known that through optimal sample definitions and data collection, test norms are not absolute. With this they can change with time or with a different norm group.

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Computing time complexity of procedure

What is the time complexity of the procedure? If A[l .. r] = [24, 30, 09, 46, 15, 19, 29, 86,78], what is the output?

  Algorithm to decide flavor of ice cream

A group of ten people need to decide which one flavor of ice cream they will all order, out of three options. The algorithm can question and re-question the participants, and present the answers to the participants.

  Algorithm-flow chart for people having computer experience

Write an algorithm and design a flow chart to determine all people who have computer experience.

  Data structures and algorithm design

Data Structures and Algorithm Design

  Determining hash value of modified file

Determine hash value of modified file look like, as compared with original hash value?

  Create a solution algorithm using pseudocode

Algorithm that will receive two integer items from a terminal operator, and display to the screen their sum, difference, product and quotient.

  Simplify rsa cryptosystem using prime number

Assume we tried to simplify RSA cryptosystem using just prime p instead of composite modulus N = pq. As in RSA, we would have encryption exponent.

  Data structures for a single algorithm

Data structures for a single algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

  Online vs. face-to-face classes

Communication A significant distinction between online and face-to-face classes lies in the area of communication.

  Testing item in array of member using sequential search

Look up each test item in array of member items, by using sequential search. What is the worst-case running time of it. (asymptotically, in terms of n and k)?

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