Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please Write C program Using C Language and give output screen shot. Answer Follow image: Please Don,t copy and paste from anywhere 3. Write a

Please Write C program Using C Language and give output screen shot.

Answer Follow image: Please Don,t copy and paste from anywhere

image text in transcribed

3. Write a user-defined function inputData to take 15 students' names and total marks from user input using a structure. Write students names here in a text file named names.txt and pass total marks to OddCal and evenCal functions from this function. Write a function oddCal to calculate odd numbers and store them in an array. Return the result to the inputData function and also write the results in odd.txt. Write another function evenCal to calculate even Numbers and store them in an array. Return the result to the inputData function and also write the results in even.txt. Also Print the evenSum and oddSum from the main function in Console Screen using return value of inputData function

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

Database Basics Computer EngineeringInformation Warehouse Basics From Science

Authors: Odiljon Jakbarov ,Anvarkhan Majidov

1st Edition

620675183X, 978-6206751830

More Books

Students also viewed these Databases questions