Find Jobs
Hire Freelancers

C++ Project

$30-250 USD

Concluído
Publicado há quase 14 anos

$30-250 USD

Pago na entrega
In this class, in lieu of a final examation, you will do a Final Project. In your Final Project, you will demonstrate your mastery of the fundamental concepts taught in this class by applying them to a real-world situation of your choice. The fundamental concepts are: * variables, * data types, * expressions, * flow of control, * conditional statements, * loops, * functions, and * arrays. Your Final Project counts for 33% of your final course grade, so you should start thinking about it very early in the course, and start seriously working on it no later than half way through the course. This note defines the detailed requirements for your class project. In this project, you will write the requirements for a simple computer program, design the program, implement the program in the C++ language, and test it. You will do the project in two phases. Phase I (17% of your class grade) consists of requirements and design. Phase II (16% of your class grade) consists of implementation and testing. Phase I is due two weeks before the end of the term. (A reminder will be posted in Class Announcements.) However, you should not wait until the due date to submit Phase I, since that will leave insufficient time for you to consider my review of your Phase I work and revise your plan accordingly. Phase 2 is due on the last day of the term. Phase I - the Program Plan Your program will perform a useful computation for some practical situation of your choice. You will need to identify the inputs to the computation, and define what outputs are to be computed and displayed, and how those outputs will be computed from the inputs. Your program will ask the user to enter the values of each of the inputs. It will then perform the computations and display the outputs. In prompting the user for input data, your program must display informative prompts written as complete English sentences. Outputs must be displayed so that the outputs read as complete English sentences. Your Program Plan is to consist of six numbered sections, as follows: 1. Context: The context in which the computation is to be performed: who will use the program, and for what business purpose. 2. Inputs: A list of the inputs and their data types 3. Outputs: A list of the outputs and their data types 4. Requirements: The processing requirements, defining how the outputs are to be derived from the inputs. 5. Design: The program design, expressed in pseudocode. Your pseudocode can be in any style and in any degree of formality, but it needs to show me that you have completely thought through how you are going to write the program. You may use flowcharts to support your pseudocode. 6. Test cases: You must identify several sets of test data that together reasonably exercise the features of the program. For each test case, determine (in advance, by hand computation) what is the required output. There are two special requirements: * Your program must contain an outer loop that allows you to test with several sets of test data, without having to restart the program. You will see an example (TestProgramWithUsefulLoop) of how this is done in a few weeks. Pay careful attention to that example, and model that aspect of your program after it. * When writing pseudocode containing conditional statements and loops, use braces {} to group statements into compound statements, as you will see in our many program examples and even in the sample project below. Do not rely on indentation to communicate statement grouping. Now here is why you should get an early start on your project: You may ask me to review drafts of your project plan before final submittal. When you have completed a draft of your plan, post it in your assignments folder under the FP1 tab, and send me an e-mail telling me that you have posted it. I will not grade your plan at this time, but I will review your plan and provide comments by return e-mail, and return your plan ungraded. You can then revise your plan if you choose. When you post a revision, again send me an e-mail saying so, and I will review the revision and provide further comments. Up to two rounds of review and revision are possible. I'll grade only the final version, that is, whatever version you have in your Assignment Folder as of the due date of Phase I. In grading your Project Plan, I will check for these features: * Are all required parts of your plan present, in the proper order, and properly identified? (Each section will be graded separately, so don't leave any out!) * Are the context and business purpose reasonably well explained? * Are the inputs and outputs adequate, and are their proposed data types appropriate? * Is the general description of the computation clearly written? * Will your program demonstrate you mastery of all basic concepts? * Does the pseudocode appear plausible? (I am not going to check it for complete correctness!) * Are the test cases adequate, and have the required outputs for each set of input test data been determined? * Is the plan neatly presented, and is all English grammar, usage, and spelling correct? Phase II - Implementation In Phase II, you will write and test your program. You will write the program "from scratch" (rather than filling in the blanks in a template, as you will be doing in Assignments 1 through 4), but you will be able to model your program on examples that you have seen in previous weeks. In fact, it is quite acceptable for your to start with an example program that is close to what you plan to do, and modify it as needed. (The sample program TestProgramWithUsefulLoop, mentioned earlier, is a good starting point.) When you have written and tested your program, post the C++ Source Code (.cpp) file for your program in your Assignments Folder under the FP2 tab. This is what I will grade. In grading your program, I will check these items: * Does it compile without errors? * Does it work correctly? * Does it demonstrate mastery of all basic concepts? (Incidentally, if you are working on your program, and it won't compile, and you can't figure out what is wrong, you are welcome to e-mail me your .cpp file and I'll have a look at it, as with any of the other assignments.) A Sample Project Plan The purpose of this example to illustrate appropriate organization of a plan. It is a very basic plan, in that it uses conditional statements effectively but there are no loops (other than the outer loop, which doesn't count), functions, or arrays. If well executed in Phase 2, the project as a whole would rate a grade of C. A higher grade could be obtained with a project that uses loops, or functions, or arrays, or a combination of these. Note that this is an example for format and style only. Your subject matter should be different. It is not acceptable to play back this example plan, even with elaborations. Income Tax Computation for Upper Elbonia 1. Context. The republic of Upper Elbonia has a very regressive tax structure. If you are a landowner, your tax is 10% of income in excess of 1000 zings; but if you are a peasant, your tax is 20% of income in excess of 500 zings. (A zing is the monetary unit of Upper Elbonia.) The program is to be used by professional tax preparers to compute a client's tax. 2. Inputs. There are two inputs: the client's income in zings (float) and the client's filing status (char). Filing status will be either L for landowner or P for peasant. 3. Outputs. There is one output, the tax due (float). 4. Processing Requirements. The cases of landowner and peasant have to be considered separately. A landowner with income under 1000 zings owes no tax; if the landowner's income is over 1000 zings, then one has to subtract 1000 from the income and take 10% of the difference. The treatment of the peasant case is similar, but with different numbers. 5. Program design. Declare the following variables: float income, float tax, and char filingStatus. Declare a boolean variable doItOnceMore and a char variable nextAction initialize doItOnceMore to true while doItOnceMore is true { display the prompt "Enter the client's filing status, either L or P: " input the filing status display the prompt "Enter the client's income in zings: " input the income if (filing status is L) { if (income is less than 1000) { tax is zero} else {tax is 10% of (income - 1000)} Display "The tax is " followed by the tax value, followed by "zings." followed by a newline. } else { if (filing status is P) { if (income is less than 500) { tax is zero } else {tax is 20% of (income - 500) } Display "The tax is " followed by the tax value, followed by "zings." followed by a newline. } else {display "You entered an invalid filing status."} Display the prompt "New client? (Y or N)" input a character to the nextAction variable if (nextAction is an N) set doItOnceMore to false } end of while loop 6. Test cases. * Filing status L, income = 37 zings (tax should be zero) * Filing status L, income = 2000 zings (tax should be 100) * Filing status P, income = 499 zings (tax should be zero) * Filing status P, income = 600 zings (tax should be 20) * Filing status X, income = 600 zings (get error message)
ID do Projeto: 651572

Sobre o projeto

17 propostas
Projeto remoto
Ativo há 14 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
I can do it. As for a task, can use yours, or can use some of my motherland of nearly the same complexity as example, for example alimony system (in Ukraine the amount paid for maintenance depends on number of children with ex-wife and total income of a husband)
$30 USD em 2 dias
5,0 (3 avaliações)
2,5
2,5
Avatar do Usuário
Hello! Please check PM for details. Thanks
$30 USD em 1 dia
3,9 (4 avaliações)
2,6
2,6
17 freelancers are bidding on average $100 USD for this job
Avatar do Usuário
Pls check your PMB for more details.
$100 USD em 1 dia
4,3 (2 avaliações)
2,4
2,4
Avatar do Usuário
ready to start this.
$35 USD em 2 dias
5,0 (2 avaliações)
2,1
2,1
Avatar do Usuário
ready to go.
$200 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
hi, I can help
$100 USD em 2 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi I am interested in making this project Waiting for your reply Thanks
$90 USD em 2 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
HI, PL SEE MY PM I THINK I CAN DO IT
$200 USD em 20 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
my expertise rounds in said sphere. I have done numerous C/C+ projects. I hope i can do this with perfect quality on least price. contact me to lend a helping hand.
$30 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I can do it for you in your budget..
$100 USD em 1 dia
0,0 (1 avaliação)
0,0
0,0
Avatar do Usuário
I have a wealth of experience writing such programs. I have helped a lot of students pass their computing (programming, IT, computer science) exams. Such projects needs special coding to reveal your level of understanding of vital concepts such as loops and control structures and I can clearly do this for you and even help you understand it by using descriptive comments.
$89,99 USD em 15 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I am confident of doing it.
$150 USD em 15 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I have done a lot of this type of projects. I am confident that you will be completely satisfied with my work.
$50 USD em 6 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Reminds me of an early homework assignment....
$100 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
I will get you a good mark for this project. I will provide a well documented source code. It will compile on Windows using MSVC. I will deliver all project files with source code.
$250 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Piece of cake. I can have this done in a jiffy. I work for a U.S. defense contractor and I use C++ every day on the job. Please consider me for this task.
$75 USD em 1 dia
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED STATES
Columbia, United States
3,9
3
Membro desde abr. 4, 2010

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.