any one know how to write a PSEUDOCODE for a 24 hour clock?
bigdawg22
0
Newbie Poster
Recommended Answers
Jump to PostTo do what? Keep time? Display time?
Jump to PostHow do you mean by 24 hour clock? U mean something like this:
class 24time{ 24time(int hour, minute){ if(hour <= 24 && minute <= 60){ print(hour + ":" + minute); return 0; }else{ return 1; } } };
All 5 Replies
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
CodeWeaver
0
Newbie Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
bigdawg22
0
Newbie Poster
bigdawg22
0
Newbie Poster
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.