@ -165,3 +165,8 @@ float Vmultiplier2(float x2,float m) {
double result = x2 * m;
return result;
}
float Vmultiplier3(float x3,float m) {
x3 = x3 * m;
printf("%f|)\n\n",x3);
return x3;
@ -33,5 +33,6 @@ float Vsubstract2(float x2, float z2);
float Vsubstract3(float x3, float z3);
float Vmultiplier(float x1,float m);
float Vmultiplier2(float x2,float m);
float Vmultiplier3(float x3,float m);
#endif
@ -139,5 +139,13 @@ int main()
x2 = getValue('X');
m = getValue('M');
Vmultiplier(x2, m);
Vmultiplier2(x2, m);
printf("z eingeben");
x3 = getValue('X');
printf("Vervielfachung\n\n");
printf("m eingeben");
Vmultiplier3(x3, m);