You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
898 B

2 years ago
2 years ago
  1. #include "funktion.h"
  2. #include <math.h>
  3. #include <stdio.h>
  4. #include <stdlib.h>
  5. #include <string.h>
  6. int main()
  7. {
  8. double a,b;
  9. a = getValue('G');
  10. b = getValue('U');
  11. marktanteil(a, b);
  12. printf("Angebotsmenge: ");
  13. a = getValue('a');
  14. printf("Verkaufsmenge: ");
  15. b = getValue('v');
  16. angebotserfolg(a,b);
  17. printf("Anfangsbuchwert: ");
  18. a = getValue('A');
  19. printf("Restbuchwert: ");
  20. b = getValue('R');
  21. Anlagenabnutzungsgrad(a,b);
  22. printf("Gesamtkapital: ");
  23. a = getValue('G');
  24. printf("Anlagevermoegen: ");
  25. b = getValue('A');
  26. Anlagenintensitaet(a,b);
  27. printf("Anlagevermoegen: ");
  28. a = getValue('A');
  29. printf("Umsatz: ");
  30. b = getValue('U');
  31. Anlagenproduktivitaet(a,b);
  32. printf("Arbeitszeit: ");
  33. a = getValue('A');
  34. printf("Produktivitaet: ");
  35. b = getValue('P');
  36. Arbeitsproduktivitaet(a,b);
  37. }