Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Need help on my project

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys. I am currently taking java course on my CS major. And I need to prepare a java Project. The goals of that Project is being creative (not that much) and doing something that can be useful and also not that easy. I have an idea in my mind: Bodybuilding workout program creator for beginners. (BTW I have nothing to do with bodybuilding but there is quite many sources on internet about that so the knowledge part would not be a problem IMO).
The features of this Project are:
1- Adjusting number of sets and reps based on your body mass index. And also suggesting cardio-cycle-running type-sit up type exercises if needed, for losing fat and belly.
2- Preparing a workout program based on selection of user on which part of body he/she wants to workout that consists of moves for that part (Such as shoulder,arm etc.)
3- Putting that moves on order based on approved suggestions on internet. (Such as leg moves last, shoulder moves first etc. )
4- Show an estimated completion time of program.
5- A section for descriptions of moves with images and .gif's. (Those are also quite easy to find on internet)
6- And a section for nutrition/workout tips. (Maybe nutrition tips may base on body mass index data and give personalized tips)
7- A basic-simple GUI.

Those are features of my Project in my mind. I think I have enough(at least close to enough) knowledge of java to code this. But since it is my first Project and since I have never worked on projects before I don't really know how/where to start to code this. So can you guys give me suggestions/tips about this and tell me how should I design my class' and methods to achieve this? I would really appreciate any kind of help. Thanks and sorry about long post and my English.
 
Marshal
Posts: 69884
278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

Log out. Switch off your computer. Pull the wire out of the wall. Remove the hard drive. Then write down on paper how a workout program would work. Then write it again, and again and again, untl it is very simple to read.



Then you can put your computer back together and turn it on
 
Yigitcan Kaya
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for advice. So, I should solve my problems and find out the way on paper? (I don't quite understand what did you mean.-My English is pretty bad )
 
lowercase baba
Posts: 12871
62
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Yigitcan Kaya wrote: should solve my problems and find out the way on paper? (I don't quite understand what did you mean.-My English is pretty bad )


That is exactly what he means, yes. Programming is really 90% THINKING, and 10% writing lines of code. One simply CANNOT write code to solve a problem if you can't solve it with your brain first.
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Yigitcan Kaya wrote:So, I should solve my problems and find out the way on paper?


If you don't fully understand the problem and/or how to solve it then you will never be able to write the program. The best way to know that you do understand the problem and that you know how to solve the problem is to write down on a piece of paper the steps you need to follow to complete the task. Don't feel you have to do this for the whole program in one go, break the problem down into sections and do each section one at a time.
 
Campbell Ritchie
Marshal
Posts: 69884
278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And ask for help and explanation from whoever gave you the problem.
 
There's a way to do it better - find it. -Edison. A better tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic