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
29 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
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 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