help with C programming

Fermé Publié le il y a 6 ans Paiement à la livraison
Fermé Paiement à la livraison

You are given a deck containing N cards.  While holding the deck:

1. Take the top card off the deck and set it on the table

2. Take the next card off the top and put it on the bottom of the deck

in your hand.

3. Continue steps 1 and 2 until all cards are on the table.  This is a

round.

4. Pick up the deck from the table and repeat steps 1-3 until the deck

is in the original order.

Write a program to determine how many rounds it will take to put a

deck back into the original order.  This will involve creating a data

structure to represent the order of the cards. Do not use an array.

This program should be written in C only. It should take a number of

cards in the deck as a command line argument and write the result to

stdout.  Please ensure the program compiles and runs correctly (no

pseudo-code).

Algorithme Programmation C Programmation C++ Architecture Logicielle Bureau Windows

Nº du projet : #15830827

À propos du projet

13 propositions Projet à distance Actif il y a 6 ans

13 freelances font une offre moyenne de 7437 ₹ pour ce travail

it2051229

Hi, I went through the requirements and I would like to do this project if given the opportunity. Let me know if you are interested. Thanks. Relevant Skills and Experience C Programming Proposed Milestones ₹2000 INR Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% INR en 1 jour
(1001 Commentaires)
7.7
dstepanenko

Hello, I'm c developer with 6+ years of experience and 10+ experience in computer science. Also I'm participant and problem writer of many algorithm competitions (Topcoder, ACM ICPC, etc). Relevant Skills and Experie Plus

₹4500 INR en 2 jours
(32 Commentaires)
6.9
sakshamkhanna

I have a lot of experience in C/C++ and I am proficient in data structures and algorithms. I have created solutions for numerous similar tasks Relevant Skills and Experience C/C++, algorithms, data structures Propose Plus

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% INR en 1 jour
(1 Évaluation)
2.6
nabeelmukhtar93

A proposal has not yet been provided

₹7530 INR en 3 jours
(0 Commentaires)
0.0
fabianajad

I am a engineer computer student in the last year, so I have a lot of experience programming. The three days can be les If you award me the project I can start working inmediately

₹5555 INR en 3 jours
(0 Commentaires)
0.0
ashutoshagrawal5

I can make working code for this problem covering all the corner test cases as I have an experience with programming.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% INR en 1 jour
(0 Commentaires)
0.0
rajdeepbaruri260

A proposal has not yet been provided

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% INR en 1 jour
(0 Commentaires)
0.0
insrathorx

A proposal has not yet been provided

₹4444 INR en 3 jours
(0 Commentaires)
0.0
marlinnium

I have several years of experience with C development, and enjoy C more than any other language I have used.

₹4444 INR en 2 jours
(0 Commentaires)
0.0
vaishalimodi

A proposal has not yet been provided

₹1650 INR en 3 jours
(0 Commentaires)
0.0
adesh3

A proposal has not yet been provided

₹2250 INR en 2 jours
(0 Commentaires)
0.0