Question: c language programming with given parameters * * 1) Program will ask user to enter 4 integer numbers that can be either positive or negative.

 c language programming with given parameters * * 1) Program will

ask user to enter 4 integer numbers that can be either positive

or negative. 2) Program will sum the inter numbers and display the

c language programming with given parameters

* * 1) Program will ask user to enter 4 integer numbers that can be either positive or negative. 2) Program will sum the inter numbers and display the value of the sum 3) Program will display largest and smallest of the entered integer values 4) Program will display the average of the 4 entered integers 5) Program will display the product of the 4 integers * 6) Program will display how many positive and negative numbers were entered * 7) Program will display how many odd and even numbers were entered using modulo arithmetic * 8) Program will display the square root of each entered number * * This software is provided in an "as is" condition. No warranties, whether express, implied or statutory, including, but not limited to, implied warranties or merchantability and fitness for a particular purpose apply to this software. or Oklahoma State University shall not, in any circumstances, be liable for special, incidental or consequential * // Use the "fgets function and ask the program user to enter 4 numbers that can be either // positive or negative values. // Then use the atoi function to turn the user input into actual numbers w // Add the for numbers together and display the results using the printf function // Using if statements determine the largest and smallest numbers then display them // using the printf function // Determine the average of the four numbers and display the result // Multiply the four numbers together and display the product // Using "if statements discover which numbers are positive and negative and display how many of // each there are // Using "modulo" arithmetic find the odd and even numbers. Remember modulo division gives the // remainder as an answer. // Display the square root of each number. Remember that the user can enter negative numbers and // will need to find the negative root with the "" displayed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!