#include <iostream>

int main()  
{
    int tipo, x;
    printf: "dame tu monto de tu comprar";
    scantf: "x";
    printf: "dame tu tipo de membresia";
    scantf: "soy tipo a";
    if "x" - "tipo a" = 10%;
    return 0;
}

Embed on website

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