Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Step: 3

blur-text-image

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

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions

Question

Explain how psychologists study health and wellness.

Answered: 1 week ago

Question

List the advantages and disadvantages of the pay programs. page 505

Answered: 1 week ago