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

  Maximal depth of decision tree derived

(1) How many scans of the database does your algorithm take if the maximal depth of decision tree derived is 5? (2) What is the maximum memory space your algorithm will use in your tree induction?

  Explain how is an exception handled in c++

How is an exception handled in C++. Explain by use of the syntax and an example of class oriented program.

  Multiple heaps

Create an application that has two heaps. Place a linked list into each heap. Select one hundred random numbers. Place each of the random numbers into each heap - CSI 345 - Spring 2014 S2

  Calculate the commission owing for that record

Construct an algorithm that will read a record on the file, calculate the commission owing for that record, and print the retail price, commission and employee number

  Program to implement an abstract data type rational-numbers

You are writing a program to implement an abstract data type Rational-Numbers. A rational number has two parts, numerator and denominator. Example 1/2 and 3/5 are rational numbers. You can perform math operations on rational numbers and the result..

  Part asuggest an application system which is able to

part asuggest an application system which is able to perform some arithmetic computations like commission system

  Display the array, the average and the number of days above

Write a program that stores the daily temperatures for the month of April in an array name dailytemp. Calculate the average temperature for the month and the count the number of days that the daily temperature was above the average.

  Write in c++ another overloaded operator

Write in C++ another overloaded operator to go in the program that has Treasury. Overload the forward slash /  so that in the main program, you can declare sale to be of type Treasury, and commission to be of type Treasury, and commispctage to be of ..

  Objective1 to give students practice in calling and writing

objective1. to give students practice in calling and writing their own functions.2. to give students practice in

  Ruby implement primitive types

How does Ruby implement primitive types, such as those for integer and floating-point data?  3-What is the single most important practical difference between Smalltalk and C++?

  Use the convention that all years have 360 days

In writing the days() function, use the convention that all years have 360 days and each month consists of 30 days. The function should return the number of days for any Date structure passed to it. Write a main () function to test your function.

  Simulate a game of blackjack

Design and implement a C++ program to simulate a game of Blackjack between two to four players. Your program must incorporate a two-dimensional array to represent the suit and the value of each card dealt to a player

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