Board index » delphi » for all you brains this should be real easy please help
Philippa
![]() Delphi Developer |
Tue, 21 Oct 2003 20:55:10 GMT
|
Philippa
![]() Delphi Developer |
Tue, 21 Oct 2003 20:55:10 GMT
for all you brains this should be real easy please help
1. Write a Program that receives an integer value from the user that
represents a number of seconds.If the user clicks on the convert button,the input is converted to the format hours:minutes:seconds .If the user enters 40 seconds into the editbox for eg, the result 00:00:40 must be displayed.If the user enters 40 000seconds the result should be 11:06:40. Note that if the resulting number of hours, minutes or seconds is less than 10,it should be preceded by a 0. |
Richard Cart
![]() Delphi Developer |
Fri, 24 Oct 2003 03:10:08 GMT
Re:for all you brains this should be real easy please helpQuotePhilippa (phillipagla...@hotmail.com) wrote: : represents a number of seconds.If the user clicks on the convert button,the : input is converted to the format hours:minutes:seconds .If the user enters : 40 seconds into the editbox for eg, the result 00:00:40 must be displayed.If : the user enters 40 000seconds the result should be 11:06:40. Note that if : the resulting number of hours, minutes or seconds is less than 10,it should : be preceded by a 0. I think you should do your own homework assignment. If you at least attempt to write the program yourself, but post questions |
Marco Milan
![]() Delphi Developer |
Fri, 24 Oct 2003 03:51:47 GMT
Re:for all you brains this should be real easy please helpTry something like this. procedure onconvertclick(sender:Tobject) hoursStr:='0'+inttostr(hours); labelResult.caption:=format('%s:%s:%s',[copy(hoursStr,length(hoursStr)-1,2) bye Marco |
AlanGLLo
![]() Delphi Developer |
Fri, 24 Oct 2003 04:45:49 GMT
Re:for all you brains this should be real easy please helpIn article <3af5927...@news1.mweb.co.za>, "Philippa" Quote<phillipagla...@hotmail.com> writes: don't know why you've sent it there and every delphi newsgroup you can find. Alan Lloyd |
Jud McCrani
![]() Delphi Developer |
Fri, 24 Oct 2003 09:44:31 GMT
Re:for all you brains this should be real easy please helpQuote"Philippa" <phillipagla...@hotmail.com> wrote: |
Dag Sund
![]() Delphi Developer |
Fri, 24 Oct 2003 16:19:24 GMT
Re:for all you brains this should be real easy please helpQuote"Jud McCranie" <jud.mccra...@mindspring.com> wrote in message Quote> "Philippa" <phillipagla...@hotmail.com> wrote: (The lack of smileys, etc. indicates that you actually mean that this can't be done in Delphi?) Dag. |
Gurbl
![]() Delphi Developer |
Fri, 24 Oct 2003 18:29:44 GMT
Re:for all you brains this should be real easy please helpOn Sun, 06 May 2001 21:44:31 -0400, Jud McCranie Quote<jud.mccra...@mindspring.com> wrote: it's obviously a school assignment, and he's cross-posted it to most Delphi ng's. As if you could do anything in VB that you can't do easier in Delphi! |
Barney Tyrwhitt-Drak
![]() Delphi Developer |
Fri, 24 Oct 2003 18:47:25 GMT
Re:for all you brains this should be real easy please helpIn article <gUsJ6.6346$Sq.618...@juliett.dax.net>, Dag Sunde <d...@orion.no> writes Quote
taken as a national insult? -- Barney Tyrwhitt-Drake |
Jud McCrani
![]() Delphi Developer |
Sat, 25 Oct 2003 01:12:36 GMT
Re:for all you brains this should be real easy please helpQuote"Dag Sunde" <d...@orion.no> wrote: even slightly experienced Delphi users. I'm sorry if it wasn't clear. Of course, it would be nice if he went back to his teacher and said that it couldn't be done in Delphi. |
Bruce Robert
![]() Delphi Developer |
Sat, 25 Oct 2003 01:51:37 GMT
Re:for all you brains this should be real easy please helpQuote"Jud McCranie" <jud.mccra...@mindspring.com> wrote in message |
Adolf Raa
![]() Delphi Developer |
Sat, 25 Oct 2003 04:02:10 GMT
Re:for all you brains this should be real easy please helpOn Sun, 06 May 2001 21:44:31 -0400, Jud McCranie Quote<jud.mccra...@mindspring.com> wrote: just for the teacher! Adolf |
Dag Sund
![]() Delphi Developer |
Tue, 28 Oct 2003 16:04:31 GMT
Re:for all you brains this should be real easy please help;-) Dag. Quote"Jud McCranie" <jud.mccra...@mindspring.com> wrote in message Quote> "Dag Sunde" <d...@orion.no> wrote: |
Star
![]() Delphi Developer |
Thu, 30 Oct 2003 00:22:39 GMT
Re:for all you brains this should be real easy please helpDodgy argument "As if you could do anything in VB that you can't do easier in Delphi!" - maybe you can do anything in Delphi... but not necessarily and always easier! -- Starb * ----------------------------------------------------------------* Quote"Gurble" <gurbleREM...@THISclear.net.nz> wrote in message Quote
|
Steve Albrigh
![]() Delphi Developer |
Sun, 09 Nov 2003 00:49:01 GMT
Re:for all you brains this should be real easy please helpIt is deprecated in Java Basic++ as well... (at least after version 0.u.r.2.lazy) QuoteJud McCranie wrote: |
2. Please Please, help me with memo-fields, real problem
3. HELP!! Please help beginner w/ easy lab project
4. Btrieve sucks and I am stupid please Help.
5. I am a beginner. Please help
6. I am a mature student needing help, please!
7. I am Desperate, HELP me please .........
8. I am a New User Please Help ME