Provide pseudocode of your overall design

Assignment Help C/C++ Programming
Reference no: EM131232589

Selection/Loop statements

In this assignment, you will design a program to perform the following task:

You are going into the Lawn or House service business. Design and write your program that will prompt the user for a choice of services that you offer. You should allow the user to choose more than one option. This means you will need a loop and some way to exit the loop. Include a Welcome message explaining your services. You MUST offer at least FOUR choices. Also, offer a 10% discount for Senior citizens. You may offer whatever service you like and whatever price you like (although you prices should be realistic). You may do either Lawn Service or House Service (or both if you like). There is a lot of flexibility in this assignment. Do NOT be prompting the user for the cost. Present a menu and let them chose which service(s) they want. Since we have not worked with Char or String data much, I suggest that you use integer menu choices. Don't forget to account for an Invalid selection. Calculate the total cost for the customer. Display the total cost of services, the discount amount (if any), and the final cost (after the discount is applied).

Some possible examples of choices might be:

LawnService HouseService
Lawnmowing Dusting Whole house or byroom
Edging Cleanbathrooms
Trimbushes Cleanfloors
Cleangutters Makebeds
Landscaping(mulch) Washwindows
Rakingleaves Clean outbasement

Note: You may use a submodular approach in you Design. But since we haven't done that in C yet, you may just include the submodule in the main sectioned off by comments ie.

/*** Submodule Welcome ***/ Welcome code here
/*** End submodule Welcome ***/

There are 4 components of your submission including:

• Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations and processes that might be needed.

• Design - choose 1 of the following three designtools.....

o Program Design- A detailed, clear description of the program you are building. It should show the flow and logic of your program.(this is the outlineapproach)

o Flowchart - Provide a flowchart for your design. You can use Excel, Word, Powerpoint, Visio or any software you have available that will allow to draw shapes andconnectors

o Pseudocode- Provide pseudocode of your overall design that fulfillsthe requirements of theproject

• Test plan - Prepare at least 2 sets of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table as follows (note: feel free to adapt to yourdesign.

• C-code - submit a separate .c or .txt file. Include a screen shot of the successful compilation and execution of yourprogram.

- Make sure you code is documented with header and in-line commentsand isneatly (i.e. indented properly)written

All of these components (except the C-code) should be placed in word (or other acceptable) document for submission.

OPTIONAL: You may choose to do the Pseudo-code instead of the C-code but it is only worth 10pts (meaning the highest possible grade will be a 90). And you must do the Program Design or Flowchart for the Design section.

Suggestion: Do you Analysis and Design first then implement in C in a stepwise fashion.

In other words, implement the loop first, compile, and run. Then implement the next step (i.e. the prompts and input) then compile and run. Save your code at each step so you have something to fall back to.

Reference no: EM131232589

Questions Cloud

Managers respond to uncertainty caused by competition : Today's managers are likely to encounter uncertainty due to all of the following EXCEPT : Why might attending trade shows enable managers to respond to uncertainty within an industry?  Which of the following would help managers respond to uncertainty..
Develope a program including the program description : This hands-on lab allows you to follow and experiment with the critical steps of developing a program including the program description, Analysis, Design(program design, pseudocode), Test Plan, and implementation with C code.
Find three current sales promotions : Find 3 current sales promotions, whether they be local, online, or catalog. What is the target behavior for each promotion? Then, for each sales promotion strategy, are there any other factors besides the target behavior that are important? Consider ..
Find examples of marketing strategies : Find examples of marketing strategies that are targeted at important cultural values in your society. These could be ads, but other marketing strategies (pricing promotions) could be used too.Ideally, these strategies will be for different brands in ..
Provide pseudocode of your overall design : Provide pseudocode of your overall design that fulfillsthe requirements of theproject. Provide a flowchart for your design. You can use Excel, Word, Powerpoint, Visio or any software you have available that will allow to draw shapes andconnectors.
Least cost-plan for stocking machine : A soft drink company has placed a vending machine that dispenses cans in the basement of a building. The machine holds c cans when full. The machine may be restocked at the beginning of any month at a cost of $r that covers labor and transportation. ..
Discuss why australia is one of the few jurisdictions : BUSN9123 PRINCIPLES OF COMMERCIAL LAW 2016 - Explain how the independence test applies for former auditors and accountants joining company boards? Refer to appropriate statutory provisions as required.
Write application that prompts user for a month day and year : Write an application that prompts a user for a month, day, and year. Display a message that specifies whether the entered date is not this year and in an earlier month this year.
The process of trying to understand message is called : The process of transmitting information from one party to another is called: The process of trying to understand a message is called: This type of management is used to coordinate ideas, materials, and transformation processes. The Japanese process o..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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