given an array of type int, print true if every element is 1 or 4
Answers
Answered by
0
Explanation: you can use loop to solve the problem.
for (int i=0;i<numberOfLoop;i++){
write the condition here
}
Similar questions