What was the options they gave you?
// writing c++ function
int maximum ( int a , int b){
if(a>b)
return a;
else
return b;
}
//when this function will be called it will return the max of the integers sent.
//for example
int max = maximum ( 3,4)
//max variable will have 4 returned by the function
Digital signals turn sounds into analog signals
Answer:
if(isIsosceles){
isoCount+=1;
triangleCount+=1;
polygonCount+=1;
}
Explanation:
Here we are checking the condition for variable "isIsosceles" using if condition. if it is true then only if block executed and it will increment mentioned variable values by 1