#include <stdio.h>
#include <math.h>

int main() {

    double x, y;

    printf("Ingrese la base: ");
    scanf("%lf", &x);

    printf("Ingrese el exponente: ");
    scanf("%lf", &y);

    printf("Resultado: %.2lf\n", pow(x, y));

    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: