Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. int main(int argc, char** argv) {
  2. int i,j,pr;
  3.  
  4. printf("Zadejte pocet radek hledane matice:\n");
  5. scanf("%d", &pr);
  6. printf("Zadejte hledanou matici:\n");
  7. int pole2[pr][10];
  8. for (i=0;i<=pr;i++){
  9. for (j=0;j<=10;j++){
  10. pole2[i][j]=fgetc(stdin);
  11. }
  12. }
  13.  
  14. for (i=0;i<=pr;i++){
  15. for (j=0;j<=10;j++){
  16. printf("%d",pole[i][j]);
  17. }
  18.  
  19. }
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement