C programming
Web tutorials on C programming
Pages
Home
plsql
Web development
minor projects
java programming
Python Programming
Monday, 14 September 2015
WAP to input the marks of 10 students in an array of integers and display the marks.
#include<stdio.h>
#include<conio.h>
void main()
{ int a[10],b;
clrscr();
printf("enter 10 value");
for(b=0;b<=9;b++)
scanf("%d",&a[b]);
for(b=0;b<=9;b++)
{
printf("\n%d",a[b]);
}
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment