Commit dea9cf68 by rakein

15feb2017

parent a366a1ea
12.87 14.78
-45.78 48.14
-87.41 28.47
42.41 -9.47
-1.78 -4.78
17.11 -41.72
-88.11 58.41
42.41 9.26
5.88 4.18
-14.21 44.12
12.87 14.78
-45.78 48.14
-87.41 28.47
42.41 -9.47
-1.78 -4.78
17.11 -41.72
-88.11 58.41
42.41 9.26
5.88 4.18
-14.21 44.12
typedef struct {
double aX;
double aYlmao;
}aV22rtused;
void aStruct(void)
{
FILE *loebLoeb;
loebLoeb=fopen("aAndmed.txt", "r");
int i = 0;
int max = 10;
aV22rtused *n= (aV22rtused*)malloc(sizeof(aV22rtused*));
while(fscanf(loebLoeb,"%lf %lf", &(n->aX), &(n->aYlmao))!=EOF ) {
///printf("x koordinaat on %0.2lf , y koordinaat on %0.2lf\n",n->aX,n->aYlmao);
}fclose(loebLoeb);
}
42.87 11.38
-65.78 43.13
-17.41 24.97
44.41 -21.47
-41.78 -55.98
17.11 -1.72
-18.11 8.41
43.41 1.26
6.78 2.18
-13.21 42.12
42.87 11.38
-65.78 43.13
-17.41 24.97
44.41 -21.47
-41.78 -55.98
17.11 -1.72
-18.11 8.41
43.41 1.26
6.78 2.18
-13.21 42.12
typedef struct {
double bX;
double bY;
}bV22rtused;
void bStruct(void)
{
FILE *loebLoeb;
loebLoeb=fopen("bAndmed.txt", "r");
int i = 0;
int max = 10;
bV22rtused *n= (bV22rtused*)malloc(sizeof(bV22rtused*));
while(fscanf(loebLoeb,"%lf %lf", &(n->bX), &(n->bY))!=EOF ) {
///printf("x koordinaat on %0.2lf , y koordinaat on %0.2lf\n",n->bX,n->bY);
}fclose(loebLoeb);
}
12.14 24.47
78.42 -12.45
11.11 65.26
79.41 -12.47
97.41 12.56
-33.48 41.62
51.94 12.46
35.63 23.12
-96.74 13.64
89.12 -35.78
typedef struct {
double cX;
double cY;
}cV22rtused;
void cStruct(void)
{
FILE *loebLoeb;
loebLoeb=fopen("cAndmed.txt", "r");
int i = 0;
int max = 10;
cV22rtused *n= (cV22rtused*)malloc(sizeof(cV22rtused*));
while(fscanf(loebLoeb,"%lf %lf", &(n->cX), &(n->cY))!=EOF ) {
///printf("x koordinaat on %0.2lf , y koordinaat on %0.2lf\n",n->cX,n->cY);
}fclose(loebLoeb);
}
#include <stdio.h>
File added
#include <stdio.h>
#include <stdlib.h>
typedef struct {
double bX;
double bY;
}bV22rtused;
int bStruct(void)
{
FILE *loebLoeb;
loebLoeb=fopen("bAndmed.txt", "r");
int i = 0;
int max = 10;
bV22rtused *n= (bV22rtused*)malloc(sizeof(bV22rtused*));
while(fscanf(loebLoeb,"%lf %lf", &(n->bX), &(n->bY))!=EOF ) {
printf("x koordinaat on %0.2lf , y koordinaat on %0.2lf\n",n->bX,n->bY);
}fclose(loebLoeb);
return 0;
}
#include <stdio.h>
///double p6hiValem(double a, double b, double c)
int main (void)
{
int a, b, c, s, p;
a = 1;
b = 2;
c = 3;
p = (a + b + c)/2
s = sqrt(p(p-a)(p-b)(p-c));
printf("%d, toasters %d", p, s);
return 0;
} ///return sqrt(p(p-a)(p-b)(p-c));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment