ca lculator code example
Example: 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;
}
}