calc code example

Example 1: css calc

body {
  width: calc(100vw - 8px);
  height: calc(100vh - 8px);
}

Example 2: calc

x = "Ya why are you looking like this??!"
print("Go Find Yourself you creppy person!" + x)

const x = "really"
console.log("Go Find Yourself you creppy person!" + x)

Example 3: 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;
  }
}