answersLogoWhite

0

N. J. C. Kouwenberg has written:

'The Akkadian verb and its Semitic background' -- subject(s): Akkadian language, Verb

User Avatar

Wiki User

11y ago

What else can I help you with?

Continue Learning about Engineering

C program for counting sort?

#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(); }


How to write java program for FLAMES game?

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


Write a c program to add two matrices using functions?

#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(); }


Wap to merge two arrays using c?

#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]); }


How do you write a c program to read two numbers and perform addition and subtraction of two matrices?

#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(); }

Trending Questions
Why does the radio on your phone keep cutting off? What was the most important invention? How do you get allegro to work on dev c plus plus? What are the advantages and disadvantages of Eiffel programming language? Why are use thin wire in phase of transformer? How are overhead traveling cranes powered? What is nested class and what is its use in c plus plus? Joint Capability Technology Demonstrations (JCTDs) are a special case of Advanced Technology Demonstrations (ATDs) enhanced so that they can demonstrate the potential to eventually be fielded and used? How do you get principal varivation from iterative deepening search? Limitations of the Carnot cycle for the operation of the steam power plant? What is a try square used for in technology? The body's rate of kilocalorie consumption needed to fuel all ongoing activities is called the? What is the operating principle of hydraulic brake when brakes are de-activated? Would the electric bill be higher if the voltage to the house is lower than it should be? A 200-kg car rounds a circular turn of radius 20 m If the road is flat and the coefficient of the friction between tires and road is 70 how fast can the car go without skidding? Are scissors pulleys? What is the header file for swap function? Can you explain why oil filled capacitors must be used for capacitor run motors instead of the more economical ac electrolytic types? What rectifier do in break motor? When was The Winter of Discontent - The Generators - created?