This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| int main() | |
| { | |
| int i,j,n,c1=1,c2=1,count=1,a[10][10],b[10][10],s[20][20],t[20][20],sum[50][50],last[10][10]; | |
| printf("\nEnter dimension:"); | |
| scanf("%d",&n); | |
| printf("\nEnter elements of 1st matrix:"); | |
| for(i=1;i<=n;i++) | |
| { | |
| for(j=1;j<=n;j++) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| int main() | |
| { | |
| int i,j,n,c=1,temp,a[10][10],b[10][10],t[20][20]; | |
| printf("\nEnter dimension:"); | |
| scanf("%d",&n); | |
| printf("\nEnter elements:"); | |
| for(i=1;i<=n;i++) | |
| { | |
| for(j=1;j<=n;j++) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #define max 50 | |
| int k=0; | |
| struct stack | |
| { | |
| char stk[max]; | |
| int top; | |
| }; | |
| struct stack s; | |
| void push(char); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #include<math.h> | |
| #define max 50 | |
| struct stack | |
| { | |
| char stk[max]; | |
| int top; | |
| }; | |
| struct stack s; | |
| void push(char); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #include<string.h> | |
| #include<math.h> | |
| double newtraph(float); | |
| double f1(double,double); | |
| double f2(double); | |
| int main() | |
| { | |
| FILE *fileptr; | |
| char filechar[40],ch; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| int main() | |
| { | |
| int i,j,d,n,e,c=0,a[15][15],fp[10],bp[10],tf[15][15]; | |
| printf("\nEnter no of nodes: "); | |
| scanf("%d",&n); | |
| printf("\nEnter no of edges: "); | |
| scanf("%d",&e); | |
| printf("\nEnter duration in this format: start node, end node, duration\n"); | |
| for(i=1;i<=n;i++) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #include<stdlib.h> | |
| int main() | |
| { | |
| int i,x[100],c[100],X=0,N,n,r; | |
| printf("\nEnter the number of units in population: "); | |
| scanf("%d",&N); | |
| printf("\nEnter the number of units to be selected in the sample: "); | |
| scanf("%d",&n); | |
| printf("\nEnter the sizes of units: "); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #include<stdlib.h> | |
| int main() | |
| { | |
| int i,x[100],c[100],a[100],X=0,N,n,r; | |
| printf("\nEnter the number of units in population: "); | |
| scanf("%d",&N); | |
| printf("\nEnter the number of units to be selected in the sample: "); | |
| scanf("%d",&n); | |
| printf("\nEnter the sizes of units: "); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #include<stdlib.h> | |
| int main() | |
| { | |
| int i,x[100],m,N,n,u,v; | |
| printf("\nEnter the number of units in population: "); | |
| scanf("%d",&N); | |
| printf("\nEnter the number of units to be selected in the sample: "); | |
| scanf("%d",&n); | |
| printf("\nEnter the sizes of units: "); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #include<stdio.h> | |
| #include<stdlib.h> | |
| int main() | |
| { | |
| int i,x[100],a[100],m,N,n,u,v; | |
| printf("\nEnter the number of units in population: "); | |
| scanf("%d",&N); | |
| printf("\nEnter the number of units to be selected in the sample: "); | |
| scanf("%d",&n); | |
| printf("\nEnter the sizes of units: "); | 
OlderNewer