the problem is that when i print the matrix i created it looks like this
3343534636346455634564563456
5643654564353245532..........
it looks like i didn't scaned the user's input or the matrix i...
Type: Posts; User: mfm12002
the problem is that when i print the matrix i created it looks like this
3343534636346455634564563456
5643654564353245532..........
it looks like i didn't scaned the user's input or the matrix i...
i don't want to print the matrix with spaces. The user gives me a input the looks like
2 0 1
3 4 5
7 4 3
and i need to scan it and put each numberin the proper place in the matrix.
the question...
first of all thanks for helping :)
but for some reason i can't outcome the user input. he is typing something like a mention earlier but in the way i did it, it only scan the first number and put it...
i'll show you what i was thinking of, tell me if i'm the right way:
void main(){
int i,int j, row, col,num,mat[100][100];
printf("Enter dimensions (height,width) of matrix:\n");...
I'll show you how the proggrram should look like on the screen:
Enter dimensions (height,width) of the matrix:
4 5
Enter the matrix:
-3 1 -4 2 -5
3 5 -8 8 10
6 -5 20 -3 4
-7 3 2 16 -5
I need to create a matrix that looks like the user input. the just enter the example i showed above of how the matrix should look, and i need to scan it and put it in an actuall matrix i create by...
hello,
I want to build a function in C that create a matrix with values of number in it.
the user's input is the dimensions of the matrix (height and width) and then he is entering the matrix....
יפה, בדיוק אותה שאלה לשנינו :)
מי זה??
This was the same algorithem I tried to use but I have a problem to translate it to C code...
Indeed it's an akward way for what the function should get but this is the assigment, to use excaly the...
Hello!
I got anassigmnet in linked lists and I need your help please.
In this assignment, we deal with students that register
to courses. We keep lists of students and lists of courses,
where...
I tried to complete this but i have no idea what to put there :(
the reverse input is a positive number and it's output is the reversed number, i need to complete 1,2,3 :
int reverse(int num)...
Hello,
sorry if this seems like a trivial query but I was having some issue setting a string to a char array in a structure. I have a set up like this:
Code:
struct Computer
{