Write your question here.
#include<iostream.h>
#include<conio.h>
/*Function Prototype*/
int counting(int b[],int,int);
/*Main Method*/
int main (void)
{ clrscr();
int a[10],x,y,r,h=1;
for(x=0;x<10;x++) /* Input values for 10 times*/
{
cout<<"Enter the "<<h<<" Element : ";
cin>>a[x];
h++;
}
The single-letter variable names make the code very difficult to decipher. in this short example, it's possible to solve the puzzle, but reading program code should not be made such a mystery. Use sensible, meaningful names for variables and life becomes easier for both the person who wrote the code, as well as anyone else who might need to read and understand the code.