Write a program that reads a list of integers from the keyboard and creates the
ID: 3626711 • Letter: W
Question
Write a program that reads a list of integers from the keyboard and creates the following information: a. Finds and prints the sum and the average of the integers. b. Finds and prints the largest and the smallest integer.am using pico. use EOF plz. and don't assume that there is no negative numbers. and i have no idea how to find the biggest and lowest answer. would be better if they are separated into different functions. please explain by detail . also what (+=) meaning is.
am new to this kind of stuff , use WHILE for loops . don't use anything else plz , i need to learn this stuff step by step. thank you
here is my code so far
#include <stdio.h>
int main (void)
int x;
int sum;
/* i think integer would be this */
while ( scanf("%d", &x != EOF));
/* i think sum would be ? */
sum = idk ;/
thank you