I am new to c++ and need some help.

I need to create a code that asks the user

How many numbers would you like to Enter?

and then the user enters them one at a time.

And the program is supposed to give

the smallest , Largest , Average and the difference

between each number and the average.

I have done a bit of he code but it doesnt work...

Could you help create this code......But in as simple code as possible as

i am very new to programming....

Thank You for reading

#include <iostream.h>

#include <conio.h>

main()

{

clrscr();

int a,b,min;

cout<<"How many numbers would you like to enter?\t";

cin>>a;

{

cout<<"Enter a number please:\t";

cin>>b;

for (int count=1;count<=a;count=count+1)

if (count==1) min=b;

if (b<min) min=b;

}

cout<<"Smallest number is\t"<<min;

getch();

return 0;

}