Can I change the scanf line in my program to a cout/cin line?
What does scanf do anyways?
here is the line:
the program uses pass by pointer and function to accept a series of integers. The program terminates and displays the amount of times the number 20 is entered when a negative integer is entered.
I have the code done already and it works..I just need the one scanf line simplified.....I don't want to use it because it is not used by my class text book and I don't want to loose points.