Click here to Skip to main content
15,891,905 members

Comments by Malik Yousaf (Top 3 by date)

Malik Yousaf 18-Dec-12 7:16am View    
Thank you very much.
can you tell me other way without using climits??
Malik Yousaf 18-Dec-12 4:20am View    
Deleted
#include<iostream>
using namespace std;

int main()

{
int max=0,min=0;
int num;
int counter =0;
cout<<"Enter 10 numbers"<<endl;
while(counter<10)
{

cin>>num;
counter++;
}
return 0;
}
Malik Yousaf 18-Dec-12 4:19am View    
here i wrote a code which takes 10 inputs from the user now how can i find maximum and minimum number between them???