Home /
Expert Answers /
Computer Science /
declare-a-boolean-variable-named-completematch-read-in-an-input-value-for-variable-inputcount-th-pa380
(Solved):
Declare a Boolean variable named completeMatch. Read in an input value for variable inputCount. Th ...
Declare a Boolean variable named completeMatch. Read in an input value for variable inputCount. Then, read inputCount integers from input and output "Complete match" if all integers are equal to -1. Otherwise, output "Some values are not \( -1 \) ". Ex: If the input is \( 3-1-1-1 \), the output is: Complete match