Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- double matrix[4][4] = {{1,2,3,4},{5,6,7,8},{9,10,11,12},{13,14,15,16}};
- int zeile, spalte;
- for(zeile=0;zeile<4;zeile++)
- {
- for(spalte=0;spalte<4;spalte++)
- {
- printf("%f\t", matrix[spalte][zeile]);
- }
- printf("\n");
- }
- getchar();
- return 0;
- }
Add Comment
Please, Sign In to add comment