Search:

Type: Posts; User: LTA85

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    1,867

    You guys are making it seem way too complicated.

    You guys are making it seem way too complicated.
  2. Replies
    2
    Views
    1,693

    #include #include float...

    #include <stdio.h>
    #include <math.h>

    float triangle(float a);

    int main()
    {
    float b,h;
    printf("Enter base:\n");
    scanf("%f",&b);
  3. Replies
    15
    Views
    1,867

    #include #include int...

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

    int main()
    {
    srand((unsigned)time(NULL));
    int numbers,loop;

    for(loop=1;loop<=6;loop++)
    {
  4. Thread: Dice Program

    by LTA85
    Replies
    4
    Views
    1,714

    #include #include #include...

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

    int main()
    {
    int num,loop,total,mean;
    srand((unsigned)time(NULL));

    for(loop=0;loop<5;loop++)
  5. Replies
    2
    Views
    2,051

    int num=0; int avg,input; ...

    int num=0;
    int avg,input;

    printf("Enter first number:");
    scanf("%d",&input);
    num+=input;
    /*
    *
    *
    *
  6. (long int)t=(y-1)*365.25+month+d; The variable...

    (long int)t=(y-1)*365.25+month+d;
    The variable is already declared.
    Try this:
    t=(y-1)*365.25+month+d;
  7. #include int main() { float...

    #include <stdio.h>

    int main()
    {
    float p,n,dm,q;
    float sum_p,sum_n,sum_dm,sum_q;
    float total_sum;
    float dollars;

    printf("\nEnter the number of pennies:\n");
Results 1 to 7 of 7