Main Program example essay topic
522 words
This program was created by first writing 4 methods; the 3 required methods (get Growth, get Days, get Height) and a method for printing the menu. With this as the basis, the program was enhanced by adding other necessary lines of code in an ordered manner. Related lines of code were grouped into new methods. Then the main program was completed so that it would run continuously until the user quit. The methods were called at the relevant places and other necessary code such as code for error checking was added to complete the program and to allow it to function properly. Due to the structured writing of the code only one minor difficulty was encountered in the process of constructing this program.
This was, allowing the user to enter their choice and having to accept it in both uppercase and lowercase letters. Doing this in a switch-case statement was not straightforward. However after referring to this in a book, the problem was easily solved. After the program was written it had to be tested to ensure that it was working correctly.
This was done by using both valid and invalid test data. Although this program is fairly efficient it is possible to enhance it to make it more functional. This can be done, by including more options in the menu allowing the user to perform more calculations on the sunflowers. In addition to that, the user friendliness features can be improved to allow the user to understand how the program is functioning. For example, telling the user exactly what he or she is allowed to enter would help the user to use the program more efficiently. By telling the user he can only enter a value between 1 and 50 for the days of growth for the sunflower, the user will know exactly what to enter and will know why an incorrect value is not accepted.
Other alterations to this program would be better error checking and validation functions. Having separate functions for error checking and validating would be useful because if the program is modified these functions can be used in the rest of the program if necessary. For example if there are several instances in the program where a value has to be within a certain range, the lower bound, upper bound and the value can be sent to the function where it will be checked and a Boolean value can be returned to say whether it is valid or not. Although this is not necessary, it would be useful if the program were to be modified. Currently the program should be able to cope well with any additions as it generally consists of several methods that are simply being called in the main menu. Since they are not part of the main program they can be removed or edited independently therefore causing fewer changes to the main program.
New methods can easily be added and called in the main program without have to make many changes.
Things every student should keep in mind
- Free example essays found anywhere online are available to anyone, which makes them used, re-used, paraphrased, and abused millions of times.
- Watch out, some are poorly written!
- We strongly discourage you to submit free essays or any of their parts for credit at your school -- they are easily detected by PLAGIARISM CHECKERS.
- Get a brand-new, 100% original paper that will be written especially for you following YOUR EXACT instructions.
100% money back, no questions asked if you paper is plagiarized (this won't happen anyway).
We use a simple but effective principle: one satisfied customer will come back for more, but one who was cheated and misled will tell 10 others too.
Our clients are treated with the highest level of respect that a legitimate student deserves. You, as a customer, will feel this attitude starting from your first contact with our essay service and all the way through.
A significant percentage of cheap essay writing services have also been the source of complaints from students for selling cut and pasted work off the net -- this is a world away from the personalized essay service that EssayPride offers. All our guarantees are always kept -- we are nothing without quality, affordable prices, and the high degree of customer satisfaction!
What our customers say
Piotr S.
Toronto, Canada
I am an ESL student and I am only learning how to write good papers in English. Thanks to EssayPride I am mastering this skill much faster. They help me because they always respond any questions and explain me things I do not understand. They also strictly follow the deadlines and I am never late with my assignments. Thank you very much, guys, your hard work is appreciated. I will surely be ordering more.
Lindsay M.
Winston Salem, NC
Oh my Gosh! My life has become sooo much easier after I've come across this website. I am a working student, so sometimes I am too overwhelmed with so many things and I really need a hand with my papers. I am glad I have found a company I can trust. I have confidence in these guys, because they proved to be good quite a few times.
Kirk N.
Austin, TX
I never leave reviews for products or services because I am quite particular and picky. Surprisingly enough, EssayPride has managed to satisfy all of my requirements, even though I asked for several alterations to the paper they've sent initially. My assignments are quite complicated and it is essential to possess a certain level of knowledge in order to write a decent paper. These guys have managed, so I give them four stars.
Emma Ch.
Birmingham, UK
Customer service is very responsive to your queries, they answer any question within an hour. Even if you have a problem with an order, you can contact them and they will fix it promptly. The quality of writing is very good, writer knows what he is talking about. I had a very positive experience using this website, I will be a returning customer.
Travis J.
Perth, Australia
I used this website more than once and every time my experience turned out to be extremely positive. I think their price-quality ratio is very good, because I couldn't find anyone writing better than these guys, who would work for this money. Thank you!
Myung O.
Seoul, South Korea
I am a Korean student studying in the US. I would like to thank essaypride staff, especially writer Jeff P., for helping me out so much. My grades are good with all your help and I keep calm about the results of my year.
Boyi Zh.
St. Louis, MO
As probably any student, I was quite hesitant about asking somebody else to do my assignments at first. However, after EssayPride has sent me my first paper and I've read it, I understood that I could actually learn a lot from them. The research they've done was impressive and I understood the topic even better than after going to class and reading my textbook. I am not using this website to "cheat", I am using it as a tutoring service, they help me to understand the material better.