Please help me with the Counting Cards

var count = 0;

function cc(card) {
  // Only change code below this line
  if(card > 1 || card < 7) {
    return count++;
  } else if (card <= 9) {
    return card += count;
  } else if (card <= "Z" && card <=10) {
    return card += count--;
  }
  
  
  // Only change code above this line
}

// Add/remove calls to test your function.
// Note: Only the last will display
cc(2); cc(3); cc(7); cc('K'); cc('A');

I’m not sure what you’re asking. If you would, link to the exercise and explain more what you need help with, please.

1 Like

All right i will get on that please… thanks and God bless you.