--- Eliacem Galon <[EMAIL PROTECTED]> wrote: > thanks for the rply.it was my cousin who send that > it > many times coz they felt confuse that my msg was > sent. > so she decided for the one or twice. im confusing > that: when i'm using 24 hrs format, sample of this > when the person call at 1259-1305. the answer is 6 > minutes and then when the computer calculate the > answer is 46. why this happened? then i should round > the remaining seconds to mins.. once again sorry for > my cousin's mistake. it wasn't like that happened if > did that... > > --- Ray Devore <[EMAIL PROTECTED]> wrote: > > > --- mikmoken2003 <[EMAIL PROTECTED]> wrote: > > > Hi gud day. i have a little problem of this: > > > > > > computing telephone bill. The meeting scheme is > as > > > follows: Call made > > > on a weekday between 6:00am - 6:00pm are charged > > to > > > 2.50 per minute. > > > Charges made at other times during weekdays are > > > charge discounted > > > rate of 2.00 per minute.Calls anytime on a > weekend > > > are charge a > > > weekend rate of 1.50 per minute. > > > > > > Write a C-program that will ask the user to > enter > > > the following > > > information. > > > > > > a.> an integer type representing the day call > was > > > made, Let 1 > > > represent monday, 2 represent tuesday and so > on... > > > b.> an integer representing the time (24 format) > > the > > > call started. > > > c.> an integer representing the length of the > time > > > duration of the > > > call in minute ( assume that all call are > rounded > > to > > > the next minute, > > > i.e. a call lasting 2 minutes and 35 seconds are > > > billed as 3 minutes > > > call.) > > > > > > The rate appliend depends on the day the call > was > > > made and on the > > > time the call was started (not when it > > ended).Based > > > on the > > > information entered, the program should print > the > > > bill corresponding > > > to the call. > > > > > > > > > i have some code for this problem and it seems > > > lacking. can you > > > please help me of this if you don't mind. > because > > i > > > have tried > > > already and our instructor wont accept. please > > help > > > me.... that was a > > > (Neste - if and ladderized if or else if) thanks > > and > > > more power. > > > hoping to hear you soon... > > > > > Show us the code that you already have and someone > > here may help you get past where you are having > > problems. We do not write code for people, only > > help > > those who have tried and shown their effort. > > > > Ray > >
Change your e-mail password, don't give it to your cousin, then SHOW US YOUR CODE!!!! Ray __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
