Computer Science, asked by tamalikasamanta03, 8 months ago

given an array of type int, print true if every element is 1 or 4

Answers

Answered by nawaraskc22
0

Explanation: you can use loop to solve the problem.

for (int i=0;i<numberOfLoop;i++){

write the condition here

}

Similar questions