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

  Assign passed value to function to return value

Assign passed value to this member and another function to return value. Your main should read the integer from an input data file, and write the output to the output data file.

  Visitor bureau of las vegas

Past surveys reveal that 30% of tourists going to Las Vegas to gamble spend more than $1,000. The Visitor's Bureau of Las Vegas wants to update this percentage.

  Area of information security awareness

For this research exercise, write a 4-5 page APA style paper summarizing research in the area of Information security awareness. You may address and focus on any topics that fall within information security awareness theories and programs.

  Creates a macro to calculate the area

Build a program that creates a macro to calculate the area of a circle using the formula area = pie x radius x radius. In the same program, prompt the user to enter a circle's radius. Use the macro to calculate the circle's area and display the re..

  What information do you need to find the selling price

To make a profit, the prices of the items sold in a furniture store are marked up by 60%. Design an algorithm to find the selling price of an item sold at the furniture store. What information do you need to find the selling price?

  Determine the average number of probes that each search algo

Determine the average number of probes that each search algorithm took. Do these values represent the theoretical values? Print out the averages for the two searches and their theoretical values.

  Write c program to find smallest-largest values

Write a program c that will find the smallest, largest and average values in a collection of N numbers.Get the value of N before scanning each value in the collection of N numbers.

  Prepare a binary to decimal memory game

The computer generates a random sequence of 0s and 1s creating a binary number - prepare a binary to decimal memory game.

  Loop statments

Weekly tasks or assignments (Individual or Group Projects) will be due by Monday, and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus.

  Find and print the largest number in the array

Write a C program that declares an (integer) array of size 10, prompts the user to enter 10 integers and stores them in the array. The program should then

  Analyzing a property of an algorithm

Problems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property of an algorithm whose classification is not known for all possible in..

  Program for atm machine using linked list

Write a c++ program for atm machine using linked list as data structures?

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