I'm a newbie to JAVA and programming as a whole. I'm trying to write a basic code to declare , which holds a variable named minutes on a job, and assign a value. It should display the value in hours and minutes. An example would be, 197 minutes becomes 3 hr and 17 minutes. And should also have a fixed minute constant such that when the program is run, the number of hours and number of minutes will always be the same based on the constant.

Trying to learn this on my own from a JAVA Programming book.

Thanks for any assistance or advice.
merban

You forget to post the code for what you have so far.
And/or your questions about your problems with writing the code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.