Recent content by Chrisanchez

  1. C

    How many times should the value of inputCount be read?

    This is the question that they are asking me: First, read in an input value for variable inputCount. Then, read inputCount integers from input and output each integer on a newline after the string "value - ". Ex: If the input is 2 25 55, the output is: value - 25 value - 55
  2. C

    How many times should the value of inputCount be read?

    It should read inputCount 2 times and output the values after the initial stated amount of times. for example the values are 3, 20, 26, -20. So it should read the 3 as how many times down the list it should output, for example the code output should be 20, 26, -20. But my code for some reason...
  3. C

    How many times should the value of inputCount be read?

    First, read in an input value for variable inputCount. Then, read inputCount integers from input and output each integer on a newline after the string "value - ". Ex: If the input is 2 25 55, the output is: value - 25 value - 55 Code: #include <iostream> using namespace std; int main() {...