Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<stdlib.h>
- #include<time.h>
- int main(){
- int i,j,k;
- float matriz[15][10];
- srand(time(NULL));
- printf("\n\n");
- for(j=0;j<10;j++){
- printf("\n");
- for(i=0;i<15;i++){
- printf(" ");
- matriz[i][j]=(rand()%1000)+1000;
- printf("%.0f",matriz[i][j]);
- }
- }
- printf("\n");
- system ("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment