Posted: April 5th, 2017
Write a main function to input 20 integers in the range of 1 to 6. Write a function to count the number of times the numbers 2 and 5 occur. The function should declare static variables count2 and count5. Check the data validity in the main function.
Place an order in 3 easy steps. Takes less than 5 mins.