1.) narrative = a THATS all I can answer rn sorryyyy
Answer:
The statement would be true
.
Explanation:
let, L = is a NFL player
M = teaches in CSU
N = has tattoos
Given that:
nfl player who teaches in csu = L^ M (this is false every time)
Above statement is L ^ M -> N
this would be true because
false -> true (true
)
false -> false (true
)
Second exp:
There are no players who teach in Csu therefore if we say they all have tattoos statement would be true.
// making the class
class Counter {
int counter;
int limit;
// Constructor
Counter(int a, int b){
counter = a;
limit = b;
}
// static function to increment
static increment(){
if(counter<limit)
nCounter+=1;
}
// Decrement function
void decrement(){
if(counter>0)
nCounter-=1;
}
int getValue(){
return counter;
}
static int nCounter;
int getNCounters(){
return nCounter;
}
};
// Initializa the static
int Counter::nCounter = 0;