Închis

programming C

"The Collatz conjecture concerns what happens when we take any positive integer n and apply the following algorithm:

n={n/2,if n is even3×n+1,if n is odd

The conjecture states that when this algorithm is continually applied, all positive integers will eventually reach 1. For example, if n = 35, the sequence is

35, 106, 53, 160, 80, 40, 20, 10, 5, 16, 8, 4, 2, 1

Write a C program using the fork() system call that generates this sequence in the child process. The starting number will be provided from the command line. For example, if 8 is passed as a parameter on the command line, the child process will output 8, 4, 2, 1. Because the parent and child processes have their own copies of the data, it will be necessary for the child to output the sequence. Have the parent invoke the wait() call to wait for the child process to complete before exiting the program. Perform necessary error checking to ensure that a positive integer is passed on the command line."

Aptitudini: Programare C++, Programare C

Despre client:
( 3 recenzii ) Jackson, United States

ID Proiect: #34786345

32 freelanceri licitează în medie 32$ pentru acest proiect

koustav2006

HI..I am proficient in C/C++ programming for writing console applications with multiple processes, pipes, for communication and can complete the given problem as per requirements.

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(227 recenzii)
6.7
Nawaz091993

Greetings! I am an expert C programmer and I can easily complete this task within an hour. Ready to start right now.

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(97 recenzii)
6.7
ali7956710

Hi Greetings.   Having Teaching Experience in C, C++,C#, Java, Python, Data structure, Algorithm Design and Analysis, Machine Learning, Artificial intelligence, Data Science, Data Mining, Image Processing, Computer Vis Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(33 recenzii)
5.8
TechnologySol20

###### Experienced in C, C++, Java, Python, Data structure, Algorithm Design and Analysis, Linux ######## Hi, Greetings. I am a computer engineer having masters in Mathematics, Computer Science and PhD in Computer Sci Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(67 recenzii)
5.5
gowthamsarathy

Hi there yes I am expert in C LANG AND I CAN DO ASAP and I can help you out for sure Kindly send me a message we'll diScuss further Looking forward to hear you Thank you

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(89 recenzii)
5.1
aravinda333

Hi, I have great experience in both C and C++ programming, for the Linux platform and this involves creating and synchronizing child processes. I have read your description of the program that needs to calculate th Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(33 recenzii)
4.8
idleswell

Thanks for your project. I have 30 years experience programming in C. I will create this C program to fork a child process to output the Collatz Conjecture. A milestone payment for the full budget for this project m Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 3 zile
(65 recenzii)
5.2
Valuesolutions

Hello, I hope this finds you well. I have just seen your project requiring; C Programming C++ Programming I believe that my 10-year experience in this field is what you need right away. Avoid the headache of looking f Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(26 recenzii)
5.7
anenkovakateryna

Hi I have 5 years of experience in <<< C programming for communication with fork and pipe in Windows and Linux >>>, so I became an expert that fits perfectly with your requirement fields. I've read the project descri Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(7 recenzii)
4.0
tranloanhanu

Hello, I have rich experience in C/C++ programming on LinuxOS. I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you correct and good results. I would appreciat Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(9 recenzii)
4.4
brettpa

Hi, I read your posting carefully and fully understand. I have been working on designing and implementing algorithm with C/C++Python for 7 years. Have you ever heard about the ACM contest? I was a ACM/ICPC contester an Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(8 recenzii)
3.6
alamineee

Hi, Dear Employer, I have read your job post carefully. I can write clean validated Machine Learning code and make a device-supported M. File. I have over 10+ years of experience at the ✔Machine Learning (ML) ✔Python Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 2 zile
(6 recenzii)
3.3
Abuzar16nucs

Hi There, Based on your Project Post, I came to know that you want an expert C programmer for this task using the fork() and wait() system calls. I can do this task 100% completely. I am doing assignments for many yea Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 2 zile
(9 recenzii)
3.4
karabetrus

main(){ int n; scanf("%d", &n); while(n-1){ printf("%d ", n); if(n%2) n=n*3+1; else n/=2; } }

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 7 zile
(2 recenzii)
2.8
ngovanchinh8686

Hi, Dear! I am a senior C, C++ developer. I have read your proposal very carefully and I have great interests, so that I feel I can complete this project. I can get started right now and I can get success for you. I'll Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 7 zile
(2 recenzii)
2.1
gregpoteau

*** Updated *** Hello, I am a C, C++ and Python programmer, I read each line of project details, I assure you this project will be done in less than 1 hours. Regards

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(7 recenzii)
2.0
nhannguyen711

⚡️⚡️ I checked your project detail and my skill are fitted in your project.⚡️⚡️ Hi, I have been working with C/C++ development for over 6 years. I have had a experience working with like that before. I will do my best Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(2 recenzii)
1.4
LongVuDinh

Hello, Client! I have read your job description very carefully, and I feel a great interest in your project. I have a deep understanding and experience in the areas of c/c++ that you mentioned. I am very confident with Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(1 părere)
1.4
castillajoselui3

Hi, dear! I have gone through your project detail and I’m very interested in your job. As a senior full stack developer, I have good experience over 12+ years in C++, C. I can fully satisfy your requirements with my ab Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(1 părere)
0.6
schmid8

********* Hi, Your Best Senior Object Oriented Programming and FullStack Developer ********** ??‍♂️The Perfect Creative Object Oriented Programming Developer you are looking for is here. !!! ? Here is my github: https Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(1 părere)
0.7