954,529 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Urgent help needed

i am new to the whole pascal programming thing and i was going through this book and came across what seems to be a challengin problem for me at present Could u plz help me out? Here is the problem:

Angles are often measured in degrees, minutes and seconds. There are 360 degrees in a circle, 60 minutes in one degree, and 60 seconds in one minute. Write a program that reads two angular measurements given in degrees, minutes, and seconds and then calculates and prints their sum.

chris_anthony23
Newbie Poster
1 post since Sep 2005
Reputation Points: 10
Solved Threads: 0
 

What do you want? The complete code?

leelee
Junior Poster in Training
77 posts since Aug 2005
Reputation Points: 31
Solved Threads: 1
 

Hi,
I have just started my course and this is the first assignment I have done a little coding and understand the basics. For the assignment I have to create a program for a hypothetical cash register that will calculate change given leaving the answer in coins. The program will use div and mod which Im ok with using and it also has to include a sensible loop, I understand the loops a little. To be honest though I don't think I could get a formulae to work for that output with a calculator. Please help, Im not asking for the assignment to be done for me just a nudge in the right direction.
Many Thanks

mrsmole
Newbie Poster
9 posts since Oct 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You