#include
main(){
int n,i,j;
printf("Input dimension of Matrix:");
scanf("%d",&n);
int mat[n][n];
printf("Input element nXn matrix.\n");
for(i=0;i
int transp[n][n];
for(i=0;i<n;i++){
for(j=0;j<n;j++){
transp[i][j]=mat[j][i];
}
}
for(i=0;i<n;i++){
for(j=0;j<n;j++){
printf("%d ",transp[i][j]);
}
printf("\n");
}
}
มีคำถามสงสัยถาม-ตอบกันได้ครับ หัดคิด ทำโจทย์บ่อยนะครับ
อยากให้ช่วยหน่อยครับ
ตอบลบThis is how my associate Wesley Virgin's adventure begins in this SHOCKING AND CONTROVERSIAL VIDEO.
ตอบลบWesley was in the army-and shortly after leaving-he found hidden, "mind control" tactics that the government and others used to get everything they want.
THESE are the exact same tactics lots of celebrities (especially those who "come out of nowhere") and the greatest business people used to become wealthy and famous.
You've heard that you only use 10% of your brain.
Mostly, that's because the majority of your BRAINPOWER is UNCONSCIOUS.
Maybe this thought has even occurred INSIDE your own brain... as it did in my good friend Wesley Virgin's brain seven years ago, while driving an unregistered, beat-up bucket of a car with a suspended driver's license and with $3.20 in his bank account.
"I'm so fed up with living check to check! When will I get my big break?"
You took part in those types of questions, isn't it right?
Your very own success story is waiting to start. All you have to do is in YOURSELF.
CLICK HERE To Find Out How To Become A MILLIONAIRE