Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: c programing

  1. #1

    Default c programing


    hello guys ..i am new here and new in c program ... i had some trouble how to make a c program to calculate the parking fare for customers who park their cars in a parking lot when the following information is given:
    A character showing the type of vehicle:C for car,B for bus,T for truck.
    An integer between 0-24 showng the hour the vehicle entered the parking lot;
    An integer between 0-60 showing the minute the vehicle entered the parking lot;
    An integer between 0-24 showing the hour the vehicle left the parking lot;
    An integer between 0-60 showing the minute the vehicle left the parking lot.

    i am new in c programming ,,, and i really needed a help for this problem ...hope you guys can help me about this problem ... thank you so much

  2. #2

    Default Re: c programing

    https://www.istorya.net/forums/progra...ogramming.html <- is this what you're looking for?

  3. #3

    Default Re: c programing

    yes it is the problem that gives me trouble ..thank you

  4. #4

    Default Re: c programing

    naa ra d i ni dnhi....nice one!

  5. #5

    Default Re: c programing

    OPEN-SOURCE-ASSIGNMENT is now a trend for students now a days..

  6. #6

    Default Re: c programing

    hey if u let others do this for you. U will not learn. People can only help you if your problem as something to do with the syntax. But if it has something to do with logic, U need to work it out on your own. kaya mo yan!

  7. #7

    Default Re: c programing

    Quote Originally Posted by rjcaballes View Post
    hey if u let others do this for you. U will not learn. People can only help you if your problem as something to do with the syntax. But if it has something to do logic, U need to work it out on your own. kaya mo yan!
    Well if ideas ra ang ilang gipangita I don't think is a bad thing. Mas maayo man jud na if naa kay laing inputs nga makuha gikan sa laing tao. And dili man siguro lain if you are asking for directions kung unsaon pag solve. Usa pa dili na man free ang codes ron so ang mostly mahatag namo is advises lang.

  8. #8

    Default Re: c programing

    Quote Originally Posted by stealthghost View Post
    OPEN-SOURCE-ASSIGNMENT is now a trend for students now a days..
    now i know..LOL

  9. #9

    Default Re: c programing

    mao jud trend nana karon specially padulong na finals..ask specifiic questions sad mo oi..asa mo ga lisod, unsay best practices or do code review here..dili kay ask para sa tibook project ka looy sad tawn sa inyong mga ginikanan.

  10. #10

    Default Re: c programing

    mga master I have a problem with my Dev C++. Ig pa-RUN na nako sa program then input sa integers ky dili mo display ang output mo out dayon sya.

    mao ni akoang Code:

    #include <stdio.h>

    main()
    {
    int first, second, add, subtract, multiply;
    float divide;
    char hold;

    printf("Enter two integers\n");
    scanf("%d%d", &first, &second);

    add = first + second;
    subtract = first - second;
    multiply = first * second;
    divide = first / (float)second; //typecasting

    printf("Sum = %d\n",add);
    printf("Difference = %d\n",subtract);
    printf("Multiplication = %d\n",multiply);
    printf("Division = %.2f\n",divide);

    getchar();
    return 0;
    }

    TIA.

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. Replies: 10799
    Last Post: 09-19-2020, 06:06 PM
  2. what is your favorite programming language?
    By sachem in forum Programming
    Replies: 310
    Last Post: 10-08-2015, 03:11 PM
  3. XDA2: file shortcut not removed after program uninstalled
    By c_cebrecus in forum Gizmos & Gadgets (Old)
    Replies: 5
    Last Post: 05-28-2008, 02:10 AM
  4. excel programs; needs help guys!!!
    By rufo in forum Software & Games (Old)
    Replies: 3
    Last Post: 01-14-2006, 12:18 PM
  5. Web programming like PHP, ASP, HTML AND FLASH ANIMATIONS
    By michaxze in forum Websites & Multimedia
    Replies: 10
    Last Post: 07-30-2005, 05:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top