Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago