Find Jobs
Hire Freelancers

Simple Matrix Function in C -- 2

$10-30 USD

Slutfört
Publicerad nästan sex år sedan

$10-30 USD

Betalning vid leverans
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)); }
Project ID: 17307359

Om projektet

9 anbud
Distansprojekt
Senaste aktivitet sex år sedan

Ute efter att tjäna lite pengar?

Fördelar med att lägga anbud hos Freelancer

Ange budget och tidsram
Få betalt för ditt arbete
Beskriv ditt förslag
Det är gratis att registrera sig och att lägga anbud på uppdrag
Tilldelad till:
Använd avatar
hi i am expert in c programming and i can easily handle your task please consider
$10 USD Om 1 dag
3,3 (9 omdömen)
3,8
3,8
9 frilansar lägger i genomsnitt anbud på $30 USD för detta uppdrag
Använd avatar
I know algorithms and recursion well. I can finish the project within 24 hours so please consider this offer.
$25 USD Om 1 dag
4,9 (12 omdömen)
3,6
3,6
Använd avatar
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 Om 1 dag
5,0 (1 omdöme)
2,0
2,0
Använd avatar
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 Om 2 dagar
0,0 (0 omdömen)
0,0
0,0
Använd avatar
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 decreases to 1 from any number provided in the parameters. I've been programming in C for over 3 years and am well versed with its technicalities and writing efficient code, and can complete such tasks as this one within 2 days or less. I look forward to your reply.
$20 USD Om 2 dagar
0,0 (0 omdömen)
0,0
0,0

Om kunden

Flagga för BRAZIL
Caxias do Sul, Brazil
5,0
7
Verifierad betalningsmetod
Medlem sedan juni 6, 2016

Kundverifikation

Tack! Vi har skickat en länk för aktivering av gratis kredit.
Något gick fel med ditt e-postmeddelande. Vänligen försök igen.
Registrerade Användare Totalt antal jobb publicerade
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Laddar förhandsgranskning
Tillstånd beviljat för geolokalisering.
Din inloggningssession har löpt ut och du har blivit utloggad. Logga in igen.