Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A. Write a function in C that takes two array arguments, each containing 20 elements. Your function should print out the number of odd elements
A. Write a function in C that takes two array arguments, each containing 20 elements. Your function should print out the number of odd elements in the first array and return the number of even elements in the 2nd array. 10 Marks B. Write a function in C that takes two arguments, one an integer and the other a string. The integer (called day) represents the day in a month (1- 31) and the string represents the day that the 1st of the month falls on "Monday", "Tuesday" etc.). Your function should print out the day of the week that the argument day falls on 10 Marksl C. Write a program in C that reads in 150 floating point numbers that represent the results obtained by students in an exam. Once the 150 numbers have been read in your code should do the following: Print out the value of the highest mark achieved . Print out the number of students who scored less than half of the highest mark achieved 10 Marksl
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started