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

profileadelen
 (Not rated)
 (Not rated)
Chat

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 number 2 and 5 occur. The function should declare static variables count2 and count5. Check the data validity in the main function.

Please program in C.

    • 11 years ago
    the answer in c language
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      program.c