Here is my source code....
And any one pls help me how can we find the output integers sort by ascending and find there average...
And any one pls help me how can we find the output integers sort by ascending and find there average...
Code:
#include<iostream.h> #include<conio.h> void main() { int num[10]; clrscr(); cout<<"ENTER NUMBERS TO SORT THEM IN ASCENDING ORDER & FIND THE AVERAGE"<<endl; for(int times=0;times<=10;times++) { cout<<"Enter a number"; cin>>num[times]; } for(int z=0;z<=10;z++) { cout<<"Ouput is : "<<num[z]<<endl; } getch(); }
Comment