Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  cricket
Language: C/C++
Code:
#include <stdio.h>
int main()
{
int cr[10],i,size,score;
printf("Enter No cricketers");
scanf("%d",&size);
printf("Enter runs");
for(i=0;i<size;i++)
{
scanf("%d",&cr[i]);
}
printf("enter the required runs");
scanf("%d",&score)
for(i=1;i<size;i++)
{
if(cr[i]>score)
{
printf("Optimum scorer is %d",size)
}
}
}
          
Comments: