Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef MY_HEADER_H
- #define MY_HEADER_H
- #endif // MY_HEADER_H
- #include <stdio.h>
- #include <stdlib.h>
- #include <math.h>
- /*Deklaracje zmiennych*/
- char wyborProgramu; //do switcha
- int iloscLiczb; // Ile liczb użytkownik chce dodać
- double *arrayOfNumbers; // Tablica liczb
- double result; // Wynik
- double numberIndex; // Podstawa
- int exponent; // Wykładnik
- /*DEKLARACJE FUNKCJI*/
- /*Wczytywanie liczb*/
- void enterNumbers(double* array, int size);
- /*Wypisywanie wyniku*/
- void writingOut(double* array, int size, char character);
- /*Dodawanie*/
- double adding (double* array, int size);
- /*Odejmowanie*/
- double subtraction(double* array, int size);
- /*Mnożenie*/
- double multiplication(double* array, int size);
- /*Dzielenie*/
- double division(double* array, int size);
- /*Potegowanie*/
- double exponentiation(double INDEX, int EXPONENT);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement