Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate which total is larger. You must program it with the following functions/prototypes Functions (reference when needed):
• Fill the array
• Total the odds and evens
• Compare the totals and display the report.
Bradley_3 0 Newbie Poster
Stefce 146 Posting Pro
Bradley_3 0 Newbie Poster
Bradley_3 0 Newbie Poster
Bradley_3 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
tinstaafl 1,176 Posting Maven
Xavier_5 12 Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.