#include <iostream>
#include <cmath>
#include <cstdint>
auto go(int A,int8_t B) {
    int8_t th0 = 0.0;
    auto th1 = 0;
    auto th2 = 0.0;
    auto th3 = 0.0;
    auto th4 = 1.0;
    
    package1:
    if (th0 < B) {
        th0 += 1;
        th3 = 0;
        package2:
        if (th3 < A) {
            th1 = th2;
            th2 += th4;
            th3 = th2 * th2;
            goto package2;
        }
        th2 = th1;
        th4 *= 0.1;
        goto package1;
    }
    return th2;
}
int main() {
    std::cout << go(2,10);
    std::cout << "\n";
    return 0;
}

Embed on website

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