@ -161,3 +161,8 @@ float Vmultiplier(float x1,float m) {
double result = x1 * m;
return result;
}
float Vmultiplier2(float x2,float m) {
x2 = x2 * m;
printf("|%f|",x2);
return x2;
@ -32,5 +32,6 @@ float Vsubstract(float x1, float z1);
float Vsubstract2(float x2, float z2);
float Vsubstract3(float x3, float z3);
float Vmultiplier(float x1,float m);
float Vmultiplier2(float x2,float m);
#endif
@ -136,4 +136,9 @@ int main()
x1 = getValue('X');
m = getValue('M');
Vmultiplier(x1, m);
printf("y eingeben ");
x2 = getValue('X');
Vmultiplier(x2, m);