Search:

Type: Posts; User: strider496

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,961

    airline reserve system

    I am trying to write a airline reserve system like program, I have to write a program to assign seats on each flights (10 max for each flight)

    u ask the user to type either 1 or 2, 1 for 1st class...
  2. Replies
    11
    Views
    1,407

    thx guys got my programs to run

    thx guys got my programs to run
  3. Replies
    11
    Views
    1,407

    revised #include int gcd(int...

    revised



    #include <stdio.h>

    int gcd(int a, int b);

    int main()
    {
  4. Replies
    11
    Views
    1,407

    heres the revised code #include...

    heres the revised code





    #include <stdio.h>

    long gcd (int,int);
  5. Replies
    11
    Views
    1,407

    dont really understand prob,plz help

    I'm new to C programming
    I'll try to write the program, but I don't even know what the program is asking me to write

    The greatest common divisor of integers x and y is the largest integer that...
  6. Replies
    16
    Views
    4,669

    thx for the helps guys i got it to run correctly

    thx for the helps guys i got it to run correctly
  7. Replies
    16
    Views
    4,669

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>
    #include <string.h>


    int main()
    {
    int guess=-1;
    int num = 0;
  8. Replies
    16
    Views
    4,669

    thx guys

    thx guys
  9. Replies
    16
    Views
    4,669

    if i want to revise my program so when the player...

    if i want to revise my program so when the player guess the number in less than 10 tries i want to print out "you're good", do i just add


    if (i=1;i <10;++i)
    {
    printf("you're good\n");
    }
    ...
  10. Replies
    16
    Views
    4,669

    my revised code #include ...

    my revised code



    #include <stdio.h>
    #include <stdlib.h>

    #include <string.h>
  11. Replies
    16
    Views
    4,669

    i fixed the syntax now it runs but infinite...

    i fixed the syntax now it runs but infinite numbers and too high,try again scrolls down
    when i input 6 as seed
  12. Replies
    16
    Views
    4,669

    can u guess my number?

    :cool:


    #include <stdio.h>
    #include <stdlib.h>

    #include <string.h>


    int main()
  13. my result was this enter car number 1 enter...

    my result was this

    enter car number
    1
    enter hours parked
    1.5
    enter car number
    2
    enter hours parked
    4.0
  14. revised program

    #include <stdio.h>

    int main()
    {
    int car,counter=0;
    float minfee=2.00,maxfee=10.00,hours,totcharge,tothours,
    calculateCharge;

    totcharge=0;
    tothours=0;
  15. Program to calculate charge for parked cars

    This is the program

    A parking garage charges $2 for minimum fee to park up to 3 hours and then a $.50 per hour charge after the 3rd hour. The maximum charge for any 24 hour parking is $10. ...
  16. Thread: Plz help me

    by strider496
    Replies
    6
    Views
    1,323

    Plz help me

    I need to write a program that input the miles driven and gallons used . The program should calculate and display the miles per gallon. After processing all input information, the program should...
Results 1 to 16 of 18