Okay so I'm having to write a program converting seconds into years, weeks, days, hours, & minutes and I can not get it working no matter what I do. I keep getting "class, interface, or enum expected. Any suggestions?
I need help!
Collapse
X
-
Tags: None
-
Syntax errors? Post a small example program that demonstrates the syntax error.Originally posted by ConfusedChildOkay so I'm having to write a program converting seconds into years, weeks, days, hours, & minutes and I can not get it working no matter what I do. I keep getting "class, interface, or enum expected. Any suggestions? -
I suggest you read what the error message is telling you and try to solve the problem using that information.Originally posted by ConfusedChildOkay so I'm having to write a program converting seconds into years, weeks, days, hours, & minutes and I can not get it working no matter what I do. I keep getting "class, interface, or enum expected. Any suggestions?Comment
-
I don't think you can properly answer that question; suppose I have 31622400Originally posted by ConfusedChildOkay so I'm having to write a program converting seconds into years, weeks, days, hours, & minutes and I can not get it working no matter what I do. I keep getting "class, interface, or enum expected. Any suggestions?
seconds; measured in days that is exactly 366 days. Is that 1 year and 1 day?
In 2007 that was so, but in 2008 it is exactly one year.
You need a point in time where you start measuring. You have to elaborate a bit
on your problem.
kind regards,
JosComment
Comment