Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
- #include <math.h>
- #define TAILLE_MAX 10
- int main (int argc, char** argv) {
- int i, j;
- float **A;
- printf("\n\t\t\t _________________________________");
- printf("\n\t\t\t / /");
- printf("\n\t\t\t / - - / ");
- printf("\n\t\t\t / Symplexe / ");
- printf("\n\t\t\t / - - / ");
- printf("\n\t\t\t/_________________________________/\n\n\n\n\n");
- A=malloc(sizeof(float*)*TAILLE_MAX);
- for(i=0; i!=TAILLE_MAX;i++){
- A[i]=malloc(sizeof(float)*TAILLE_MAX);
- }
- for(i=0; i!=TAILLE_MAX; i++) {
- for(j=0; j!=TAILLE_MAX; j++) {
- printf("A[%d][%d]=", i, j );
- scanf("%f", &A[i][j]);
- }
- }
- return(0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement