Search:

Type: Posts; User: Lyrockzz

Search: Search took 0.01 seconds.

  1. im trying to calculate c, alpha and beta, the...

    im trying to calculate c, alpha and beta, the user should put in a,b and gamma
  2. #include #include #include...

    #include <stdio.h>#include <math.h>
    #include <stdlib.h>
    #define TOTAL_DEG (180.0)


    double berechnung_length(double a, double b, double gamma, double c)
    {
    c = sqrt(a * a + b * b - (2 * a...
  3. ye the guideline says "Write a Function...

    ye the guideline says "Write a Function (triangle_1) that computes those calculations (prototype is given) void triangle_1 (double a, double b, double gamma, double *c, double *alpha,double *beta);...
  4. First time using pointers, and i feel lost :|

    It's me again, trying to figure out how to use pointers,
    Im supposed to calculate alpha, beta and the lenght of c of a trianlge using a function (triangle_1)
    and from what i think i'll have to use...
  5. Replies
    8
    Views
    4,962

    Thanks, Now i get it, sorry im still figuring out...

    Thanks, Now i get it, sorry im still figuring out how to properly use functions and everything, helped alot :)
  6. Replies
    8
    Views
    4,962

    but my type is "double" i dont get the error ^^

    but my type is "double" i dont get the error ^^
  7. Replies
    8
    Views
    4,962

    y

    we have to use gcc, and i'm supposed to write the function myself ^^
    no warnings, but the result is just 0.000
  8. Replies
    8
    Views
    4,962

    problem with function

    Hi, everything running smooth but there is 1 mistake cuz my output is always 0.00000

    The function should basically return the distance between the points
    idk whats wrong tho.

    Thanks for any...
  9. (the ^ is below the "=" )

    (the ^ is below the "=" )
  10. this helped alot, still "error: lvalue required...

    this helped alot, still
    "error: lvalue required as left operand of assignment
    h*b=flaeche;"
    ^
    when my code looks like this


    h*b=flaeche;
    printf("\nDie Fläche des eingegebenen...
  11. Probably a pathetic lil error but i dont seem to find it |:

    sorry if this seems trivial, but ima beginner, its not really about the Text (its in German due to me studying there :p)
    The "program" is should calculate the surface area, the extend and the...
Results 1 to 11 of 11