Thread: Need help in writing program

  1. #1
    Registered User
    Join Date
    Aug 2015
    Posts
    75

    Need help in writing program

    Q.write a funtion which takes hours,minutes and seconds as parameter and an integer s and increments the time by s seconds.
    Accept time and seconds in main and display the new time in main using the above function.

    plzz som1 solve thsi problem. i dont understand question so i ant write program.someone solve this problem its urgent!!!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,311
    You posted this in both the C and C++ programming forums. They are two different programming languages, though with quite a bit in common. As such, I am closing both your threads.

    Decide on which programming language you want to use, then post in the appropriate forum. Explain what exactly do you not understand by the question. Simply asking for someone to write the code for you is an attempt to cheat.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Writing a program that runs another program
    By danfawaz in forum Tech Board
    Replies: 5
    Last Post: 07-29-2012, 11:00 AM
  2. Help writing a program
    By sirdesch in forum C++ Programming
    Replies: 1
    Last Post: 11-21-2010, 12:32 PM
  3. Need some help with C program writing
    By The_PC_Gamer in forum C Programming
    Replies: 9
    Last Post: 02-12-2008, 09:12 PM
  4. $70 for writing c program
    By jafermjj in forum C Programming
    Replies: 7
    Last Post: 01-20-2008, 05:18 PM
  5. pls help in writing a program
    By bsb77 in forum C++ Programming
    Replies: 4
    Last Post: 11-27-2001, 01:24 PM

Tags for this Thread