We want to track weather conditions during the past year and have designated each day as either
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!!
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!
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
28 freelancere byder i gennemsnit $33 på dette job
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?
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
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!
Hi, I am a talented C & C++ coder. If you give me this project, you will get good result. Thanks. Relevant Skills and Experience C & C++ Programming, Algorithm, Data processing Proposed Milestones $35 USD - 1
Hello, dear friend I am expert in C++, C#. I have a lot of experiences in many tasks. I can do your task well. Thanks. Stay tuned, I'm still working on this proposal.
I can do it. C or C++ ? What is [login to view URL] file format? Example? Relevant Skills and Experience C/C++ Linux Proposed Milestones $30 USD - Payment for all job