C++ program
$10-30 USD
Paiement à la livraison
We want to track weather conditions during the past year and have designated each day as either
Rainy ('R')
Flooding ('F')
Cloudy ('C')
Sunny ('S')
Armegeddon ('A')
Write a program that stores this information in s 12x30 array of characters, where the row indicates the month and the column indicates the day of the month. Note no data is being captured for the 31st of any month since 31 is an unlucky number.
This program will read the data into the array from a file called RainOrShine.txt. From this data it you should create a report that displays, for each month, and for the whole twelve month period, how many days were of each type. It should also report the first month that had the largest number of sunny days (ties are ignored).
Remember that good correct functions are required too, you must pass the 2d array to a function!!
Note:
Global variables are not to be used! EVER.
GOTO and LABELS should never be used! EVER
Global constants are acceptable if a significant majority of the program and it's functions require them. Otherwise create them in main and pass them to functions as needed.
Variable name must match the context of the program. a global variable named studentLoanAmount is infinitely more readable than one called g.
All variables must be initialized on instantiation. (aka when declared e.g int theNumber = 0; )
ANY VARIABLE THAT DOES NOT CHANGE IS A CONSTANT, declare them as constants and use only UPPERCASE for its naming convention
Code must be neat and properly indented (plugins -> source code formatter fixes this )
All program specifications must be met.
Do-while vs while. If you find yourself repeating the loop conditions inside the loop, try again with better logic - aka a do while.
All input should be validated to be in range
If you are duplicating large sections of code your logic is broken
Loops should virtually never be infinite - they should have ending conditions: These are bad!
for(;;)
while(true)
while(1 == 1)
Code must always be your own work
When a program has specifications, e.g. "using functions" MAKE SURE TO USE FUNCTIONS!
When working with menus, as a rule of thumb you should use a switch..case structure
Nº du projet : #15586163
À propos du projet
25 freelances font une offre moyenne de 34 $ pour ce travail
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows envir Plus
Hello Sir , i have red your description of project & i am a professional in C++ and i can do that for you thanks. Relevant Skills and Experience i am expert in C,C++,C# and java . Proposed Milestones $25 USD - MS
I can write the program you requested Relevant Skills and Experience C/C++, Proposed Milestones $30 USD - Paaayable upon the project's completion Which operating system and which compiler/IDE you use?
Hi, I've got quite some experience with C and C++ and I'm sure I can help you out with your project. May I get more details over the chat? Relevant Skills and Experience C, C++, C# Proposed Milestones $25 USD - Comp Plus
Hello there, lots of experience teaching algorithms with multiple programming languages (including C/C++). Let me know the deadline for this weather task to see if I can help. Cheers!
Hello sir, I am interested in the project. I want to work for you. The only question is when is the deadline of this project? Relevant Skills and Experience C/C++ for 2 years. Proposed Milestones $25 USD - Project co Plus
Hi, I've read and understood your project requirements. I'll provide you a professional and high quality, well written code that is easy to understand/ edit, while meeting the given criteria :) Stay tuned, I'm still Plus
Let me have a chance to work with you Relevant Skills and Experience I'm a C/C++/C#/Java programmer with 10+ years experience so I think I can complete this project Proposed Milestones $30 USD - complete project Ple Plus
Hello! I have read your project description carefully. I am confident about your project as computer vision expert. Relevant Skills and Experience Expertise Fields: C, C++, C#, OpenCV, MFC, WPF, .NET, and so on. Feel Plus
I've read and understood your project requirements and I'm very interested to work on your project. I have implemented different types of programs including file input output, data structure etc. Kindly share the deta Plus
I finished the project it is easy for experienced C++ programmer :) Relevant Skills and Experience Software Construction, Software Engineering, C++, C++ STL, Data structures and algorithms and fast coder :) Proposed Plus
I am interested in your project and my matching skills can be used to code your requirement. thank you.
Submit a cpp, hpp file for the class(es), along with a main, and the output from a run. All of this would be in compressed file. Relevant Skills and Experience I have 25 years experience with C++. I have taught progra Plus
I have very good experience in C++, Algorithms and Data structures. I can support your requirement. Relevant Skills and Experience Experience in C++: 3+ years Experience in Algorithm & Data structures: 12+ years Prop Plus
I need only one day to complete all the work. C++ and C# are well known, about 5 years of coding Relevant Skills and Experience C++ 7 years C# 5 years Proposed Milestones $20 USD - For Job