calc online code example
Example 1: calc
#include <iostream>
#define LOG(x) std::cout << x << std::endl
struct BadGamer{
void BAD(){
LOG("Uses Calculator and is Bad at games");
}
};
struct GoodGamer{
void GOOD(){
LOG("Doesn't use Calculator and is Good at games");
}
};
int main(){
int rep;
LOG("Do you Use calculator");
std::cin >> rep >> std::endl;
if(rep == 1){
BadGamer.BAD();
}
if(rep == 0){
GoodGamer.GOOD();
}else{
std::cout << "BRUUH" std::endl;
}
}
Example 2: calculator
ca = calculator