Find Jobs
Hire Freelancers

Simple Matrix Function in C -- 2

$10-30 USD

Completed
Posted almost 6 years ago

$10-30 USD

Paid on delivery
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

About the project

9 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
hi i am expert in c programming and i can easily handle your task please consider
$10 USD in 1 day
3.3 (9 reviews)
3.8
3.8
9 freelancers are bidding on average $30 USD for this job
User Avatar
I know algorithms and recursion well. I can finish the project within 24 hours so please consider this offer.
$25 USD in 1 day
4.9 (12 reviews)
3.6
3.6
User 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 in 1 day
5.0 (1 review)
2.0
2.0
User 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 in 2 days
0.0 (0 reviews)
0.0
0.0
User 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 in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of BRAZIL
Caxias do Sul, Brazil
5.0
7
Payment method verified
Member since Jun 6, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.