Answered step by step
Verified Expert Solution
Question
1 Approved Answer
return o: Exercises 1. Write a C prgram which will declare a 20 element integer array and fill it with random numbers betweeen 0 and
return o: Exercises 1. Write a C prgram which will declare a 20 element integer array and fill it with random numbers betweeen 0 and 50. Display the minimum, avarage and the sum of numbers on the monitor. 2. Write a C program which will calculate C- A + 4B, where vectors A and B have 10 elements. a. A and B should be filled with random values. b. A and B should be filled by user input. Write a C program which will tkethe salaries of 10 employees from the keyboard into an array. The program should calculate and store the net salary in a new array. At the end, display both arrays on the monitor. (Use the net salary calculation from chapter 1) Write a C program which will display "negatives are more" if the number of negative elements are more than the positive elements of a 10 element array. Otherwise, "positives are more" should be displayed. Fill your array by user input. 4
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