Suoritettu

Simple Matrix Function in C -- 2

Considering a matrix of 10 rows by 12 columns containing integers, do a recursive function that locates in that matrix and returns how many sequences from numbers decreasing to 1 exist from the (lin, col) position and with initial value n. It is allowed to search right, left, up and down considering the value n minus one unit. As an example, the function should work for the program below, and this program should write "Qtd Seq = 4". Note that there are 4 sequences from the number 12 to the number 1 from the line = 2, column = 6 of the matrix below, identified with bold numbers and underlines. Remember that in language C the first line is 0 and also the first hill is 0.

int main () {

  int mat [10] [12] = {{34,45,18,56,98,33,42,67, 6,11,40,10}

                   (88.59,23,34,44,11,34,61,43, 1,3,9)

                   {33,32,31,22,33,77,12,11,34,98,72,74},

                   {40,50,21,17,15,52,45,10, 9,32,27,30},

                   (4,14,32,11,22,33,44,65, 8,52,76,12),

                   {6,13,56,91,22,45,22,18, 7,45,23,44},

                   (8, 9, 20, 87, 2, 5, 56, 5, 6, 5, 4, 3)

                   (12.99.23, 4, 3.81, 42, 4, 8, 4.77, 2,

                   (98.97, 96.95, 38, 1, 2, 3.56, 3.56, 1),

                   (3,1,7,45,93,96, 1.46, 1, 2.41,23);

  printf ("Qtd Seq =% d \ n", qtdseq (mat, 2,6,12));

}

Taidot: Algoritmi, C-ohjelmointi

Näytä lisää: 2x2 matrix multiplication in c, create matrix in c, matrix in c, how to pass a 2d array to a function in c using pointers, passing matrix to function in c, matrix multiplication in c using function, passing 2d array to function in c, pass two dimensional array to function c by reference, simple login function, simple javascript function call css popup, simple search function website, simple php function, simple search function, simple paging function php, simple html function, simple clock function iphone app development, phpbb simple style function, simple flash function, simple matrix gui, simple matrix report web

Tietoa työnantajasta:
( 0 arvostelua ) Brazil

Projektin tunnus: #17307359

Myönnetty käyttäjälle:

Sindustrus

hi i am expert in c programming and i can easily handle your task please consider

$10 USD 1 päivässä
(1 arvostelu)
0.0

10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

$80 USD 1 päivässä
(35 arvostelua)
5.6
mcmbuvi

I know algorithms and recursion well. I can finish the project within 24 hours so please consider this offer.

$25 USD 1 päivässä
(12 arvostelua)
3.6
shazemsaadHazem

Hello..I am expert in C and C++...I would like to help you in this project...I promise to give excellent results in a very short time..

$25 USD 1 päivässä
(15 arvostelua)
3.1
$35 USD 1 päivässä
(0 arvostelua)
0.0
shailendrakumar6

it can be designed with the help of MUL and ADD function in C. if we designed same program in C++, it will be more reliable to use and other functionality can be added easily.

$20 USD 2 päivässä
(0 arvostelua)
0.0
$35 USD 7 päivässä
(0 arvostelua)
0.0
ethanboswell00

Thank you for considering me for this project. It appears from the description that you need an efficient algorithm programmed into a recursive function in C. I will write a function to count all sequences that decreas Lisää

$20 USD 2 päivässä
(0 arvostelua)
0.0
$30 USD 1 päivässä
(0 arvostelua)
0.0
fshiwani

Hey, I have quite a good bit of experience with C/C++ programming. I did quite similar tasks for my programming courses too. I should be able to help you out.

$15 USD 1 päivässä
(0 arvostelua)
0.0