Mayuresh .IIndsem.prog

Embed Size (px)

Citation preview

Generate n terms of fabonici series by using array

#include#includevoid main(){int a[100],n,i;clrscr();printf("input all no. of term ");scanf("%d",&n);a[0]=0; a[1]=1;for(i=2;i=0;i--)printf("%d",a[i]);getch();}

Student marks stor in array &find max & min. marks

#include#includevoid main(){ int m[100],n,i,l,s;clrscr();printf("input no. of student ");scanf("%d",&n);for(i=0;i