I have the following code:
This seperates 3 and 5 into rowsa and colsa when theCode:printf("Enter order of matrix A (e.g. 3x5) : "); scanf("%dx%d", &rowsa, &colsa);
user types 3x5
how do i generalise this to any character between two numbers?
i.e., i want it to work when the user types
also, if possible...
(more than one space, character in between the numbers)