N. J. C. Kouwenberg has written:
'The Akkadian verb and its Semitic background' -- subject(s): Akkadian language, Verb
#include<stdio.h> #include<conio.h> void main() { clrscr(); int i,j,m,a[20],b[20],c[20],max; printf("enter no of elements"); scanf("%d",&m); printf("enter elements"); for(i=0;i<=m;i++) { scanf("%d",&a[i]); } max=a[i]; for(i=0;i<=m;i++) { if(max<a[i]) { max=a[i]; } } for(i=0;i<=max;i++) { c[i]=0; } for(j=0;j<=m;j++) { c[a[j]]=c[a[j]]+1; } for(i=0;i<=max;i++) { c[i]=c[i]+c[i-1]; } for(j=m;j>=1;j--) { b[c[a[j]]]=a[j]; c[a[j]]=c[a[j]]-1; } printf("AFTER SORTING"); for(i=0;i<=m;i++) { printf("%d",b[i]); } getch(); }
for (int i = 0;i < nme.length() ;i++ ) { n[i] = nme.charAt(i); } for (int j=0;j < lnme.length() ;j++ ) { l[j] = lnme.charAt(j); } for (int i = 0;i < nme.length() ;i++ ) { for (int j=0;j < lnme.length() ;j++ ){ if(n[i] == l[j]){ n[i] = ' '; l[j]=' '; } } } int C = 0; for (int i = 0;i < nme.length() ;i++ ) { if(n[i] != ' ' ){ C ++; } } for (int j=0;j < lnme.length() ;j++ ) { if(l[j] != ' ' ){ C ++; } } refer this site for full coding: http://shamjeet.blogspot.in/p/java-se.html#c
#include<stdio.h> #include<conio.h> #include<math.h> void main() { int a[4][4],b[4][4],c[4][4],i,j; printf("enter the elements of matrix a"); for(i=0;i<=3;i++) for(j=0;j<=3;j++) scanf("%d",&a[i][j]); printf("the first matrix is"); for(i=0;i<=3;i++) { printf("\n"); for(j=0;j<=3;j++) printf("%d",a[i][j]); } printf("Enter the elements of second matrix"); for(i=0;i<=3;i++) for(j=0;j<=3;j++) scanf("%d",&b[i][j]); printf("the second matrix is"); for(i=0;i<=3;i++) { printf("\n"); for(j=0;j<=3;j++) printf("%d",b[i][j]); } for(i=0;i<=4;i++) for(j=0;j<=4;j++) c[i][j]=a[i][j] + b[i][j]; printf("the addition of matrix is"); for(i=0;i<=3;i++) { for(j=0;j<=3;j++) printf("%d\t",c[i][j]); printf("\n"); } getch(); } Answer by sujit saxena: #include<stdio.h> #include<conio.h> void main() { int a[20][20],b[20][20],c[20][20],i,j,r1,r2,c1,c2,ta,tb; clrscr(); printf("Enter order of Matrix A: "); scanf("d",&r1,&c1); ta=r1*c1; printf("\nEnter %d elements=",ta); for(i=0;i<r1;i++) { for(j=0;j<c1;j++) scanf("%d",&a[i][j]); } printf("\nEnter order of Matrix B: "); scanf("d",&r2,&c2); tb=r2*c2; if(r1==r2 && c1==c2) { printf("\nEnter %d elements=",tb); for(i=0;i<r2;i++) { for(j=0;j<c2;j++) scanf("%d",&b[i][j]); } for(i=0;i<r1;i++) { for(j=0;j<c2;j++) c[i][j]=a[i][j]+b[i][j]; } printf("\nSum of matrix is\n"); for(i=0;i<r1;i++) { for(j=0;j<c2;j++) { printf("%d\t",c[i][j]); } printf("\n"); } } else printf("\nAdddition is not possible pls enter same matrices"); getch(); }
#include<stdio.h> void main() { int a[5],b[5]; int c[10]; int i,j,temp,k; printf("\n enter the elements of array A:=\n"); for(i=0;i<5;i++) scanf("%d",&a[i]); printf("\n enter the elements of array B:=\n"); for(i=0;i<5;i++) scanf("%d",&b[i]); for(i=1;i<5;i++) { for(j=0;j<5-i;j++) { if(a[j]>a[j+1]) { temp=a[j]; a[j]=a[j+1]; a[j+1]=temp; } } for(j=0;j<5-i;j++) { if(b[j]>b[j+1]) { temp=b[j]; b[j]=b[j+1]; b[j+1]=temp; } } } printf("\n the elements of the array A:=\n"); for(i=0;i<5;i++) printf("%d\t",a[i]); printf("\n the elements of the array B:=\n"); for(i=0;i<5;i++) printf("%d\t",b[i]); i=0,j=0,k=0; while(i<5&&j<5) { if(a[i]>b[j]) c[k++]=b[j++]; if(a[i]<b[j]) c[k++]=a[i++]; } if(i<5&&j==5) while(i<5) c[k++]=a[i++]; if(i==5&&j<5) while(j<5) c[k++]=b[j++]; printf("\n the elements of the sorted merged array C:=\n"); for(i=0;i<10;i++) printf("%d\t",c[i]); }
#include<stdio.h> #include<conio.h> void main() { clrscr(); int a,b,c,n; printf("enter the numbers"); scanf("%D",&n); for(i=0;i<n;i++) a=b; a=c; c=a+b; printf("the sum is %c",); getch(); }
J A C. Cramer has written: 'Vibration'
C. J. Killen has written: 'Technical education'
J. C Furnas has written: 'Voyage to windward'
J.-C Nicolet has written: 'From hand to machine'
J. C. Rohling has written: 'Deutschlands Flora'
J. C. Mariategui has written: 'Obra politica'
J. C. Hoorweg has written: 'Psychology in Africa'
J. A. C. Mackie has written: 'Bandung 1955'
J. C. Piver has written: 'Sun and mankind'
C J. Constable has written: 'Operations management'
C.-J Rougemaitre has written: 'Le perroquet'
J. C. Hoyte has written: 'J.C. Hoyte'