This preview shows page 1. Sign up to view the full content.
Unformatted text preview: ",a+1); scanf("%d",&marks[a]); } for(a=0;a<10;a++) sum=sum+marks[a]; avg=sum/10.0; printf("the average is %f",avg); getch(); }...
View Full Document
This note was uploaded on 11/06/2010 for the course UBIT 411 taught by Professor Saleemelahi during the Spring '10 term at University of Karachi.
- Spring '10