There is n answer.
These are not the initial letters of the names of months in the English language because those would have been in upper case.
s, o, n (the months of the year)
#include<stdio.h> main() { printf("Enter Order Of The Matrix\n"); int l,m; int i,j,k,t,x; scanf("%d%d",&l,&m); int a[l][m],temp[l*m]; printf("Enter The Elements Row Wise...\n"); for(i=0;i<l;i++) { for(j=0;j<m;j++) { scanf("%d",&a[i][j]); } } printf("Matrix A \n "); for(i=0;i<l;i++) { printf("\n"); for(j=0;j<m;j++) { printf("%d\t",a[i][j]); } } /*----------------------------------------------------------------------*/ x=0; for(i=0;i<l;i++) { for(j=0;j<m;j++) { temp[x]=a[i][j]; x++; } } for(i=0;i<l*m;i++) { for(j=0;j<(l*m)-1;j++) { if(temp[j]>temp[j+1]) { t=temp[j]; temp[j]=temp[j+1]; temp[j+1]=t; } } } x=0; for(i=0;i<l;i++) { for(j=0;j<m;j++) { a[i][j]=temp[x]; x++; } } printf("\nMatrix A After Sort \n "); for(i=0;i<l;i++) { printf("\n"); for(j=0;j<m;j++) { printf("%d\t",a[i][j]); } } }
a b d e f F g G j J k L m n N p P q Q r R s S t u y z Z
J. F. X. O'Brien died in 1905.
#include<iostream.h> #include<conio.h> #include<string.h> class parse { int nt,t,m[20][20],i,s,n,p1,q,k,j; char p[30][30],n1[20],t1[20],ch,b,c,f[30][30],fl[30][30]; public: int scant(char); int scannt(char); void process(); void input(); }; int parse::scannt(char a) { int c=-1,i; for(i=0;i<nt;i++) { if(n1[i]==a) { return i; } } return c; } int parse::scant(char b) { int c1=-1,j; for(j=0;j<t;j++) { if(t1[j]==b) { return j; } } return c1; } void parse::input() { cout<<"Enter the number of productions:"; cin>>n; cout<<"Enter the productions one by one"<<endl; for(i=0;i<n;i++) cin>>p[i]; nt=0; t=0; } void parse::process() { for(i=0;i<n;i++) { if(scannt(p[i][0])==-1) n1[nt++]=p[i][0]; } for(i=0;i<n;i++) { for(j=3;j<strlen(p[i]);j++) { if(p[i][j]!='e') { if(scannt(p[i][j])==-1) { if((scant(p[i][j]))==-1) t1[t++]=p[i][j]; } } } } t1[t++]='$'; for(i=0;i<nt;i++) { for(j=0;j<t;j++) m[i][j]=-1; } for(i=0;i<nt;i++) { cout<<"Enter first["<<n1[i]<<"]:"; cin>>f[i]; } for(i=0;i<nt;i++) { cout<<"Enter follow["<<n1[i]<<"]:"; cin>>fl[i]; } for(i=0;i<n;i++) { p1=scannt(p[i][0]); if((q=scant(p[i][3]))!=-1) m[p1][q]=i; if((q=scannt(p[i][3]))!=-1) { for(j=0;j<strlen(f[q]);j++) m[p1][scant(f[q][j])]=i; } if(p[i][3]=='e') { for(j=0;j<strlen(fl[p1]);j++) m[p1][scant(fl[p1][j])]=i; } } for(i=0;i<t;i++) cout<<"\t"<<t1[i]; cout<<endl; for(j=0;j<nt;j++) { cout<<n1[j]; for(i=0;i<t;i++) { cout<<"\t"<<" "; if(m[j][i]!=-1) cout<<p[m[j][i]]; } cout<<endl; } } void main() { clrscr(); parse p; p.input(); p.process(); getch(); }
F. J. M. Stratton was born in 1881.
F. J. M. Stratton died in 1960.
F. J. M. A. Partridge has written: 'The life of St. Bridget of Sweden'
F. J. M. Feldbrugge has written: 'Constitutions of the U.S.S.R. and the Union Republics'
s o.
s o n
F. J. M. Smith has written: 'Basic fabrication and welding engineering' -- subject(s): Welding
s, o, n (the months of the year)
J. F. M. de Castro has written: 'Mid-term evaluation of the Biogas Support Program'
January, February, March, April, May. Next is "J" for June.
J. F. M. Albert has written: 'Recherches sur les principes fondamentaux de la classification bibliographique'
S, O, and N. They are the first letters of the months of the year.