CasparMathiasen_CasparM_/bon/bon.pde
void setup(){
  background(255,255,255);
  size(400,600);
noLoop();
}

void draw(){
  fill(0,0,0);
  textSize(20);
  text(" Aabenraa Supermarkede",100,100);
  textSize(10);
  text("Stegholt",165,150);
  text("6200 Aabenraa",160,165);
  text("tlf. 99 99 99 99",157,180);
  text("www.Aabenraasupermarkede",125,195);
  
  //Overskrifter//
  text("Vare",20,210);
  text("Antal",175,210);
  text("stk. Pris",300,210);
  
  //vare 1//
  text("Doritos nachocheese",20,225);
  int a=25;
  text(a,300,225);
  int b=2;
  text(b,175,225);
  
  //vare 2//
  text("kong strong",20,240);
  int c=5;
  text(c,300,240);
  text(b,175,240);
  
  //total pris//
  text("Total:",250,500);
  
  //Doritos Total//
  int DoritosTotal=a*b;
  
  //kong strong total//
  int kongstrongtotal=b*c;
  
  //Total//
  int Total=DoritosTotal+kongstrongtotal;
  text(Total,330,500);
  
  //betjent af//
  text("Betjent af:",20,580);
  text("Capper",80,580);
  
  //Total med moms//
  fill(0,0,0);
 text("Total med moms:",250,515);
  Float moms=1.25;
  Float Total_med_moms=Total*moms;
  text(Total_med_moms,330,515);
}
  
  

  
 
