#include <stdio.h>

int main(void) {
    int x = 7;
    int y = 8;
    int macht;
    int xtoy(int a, int b);

    printf("Debug Demonstratie Visual Studio 2013 Express Edition\n");

    macht = xtoy(x, y);
    printf("\n7 tot de macht 8 = %d", macht);
    getchar();
    return 0;
}

int xtoy(int a, int b) {
    int tel;
    int answer = a;
    for(tel = 0; tel < b; tel++) {
        answer = answer * a;
    }
    return answer;
}
