Need to make this work in C language 1) input numbers 2) show the numbers 3) show how many odd and how many even numbers were there 4) show how many % of numbers were even.
I am VERY new at this. I got this far (some par of it is in LATVIAN):
int main() //galvena dala
int n, nEven=0, nOdd=0, nZero=0; //mainigo definesana
for (;;) //cikls ''for''
printf("\nIevadi tikai veselus skaitlus, ja velaties beigt ievadi, ievadiet citu simbolu: ");
//ievadot kadu simbolu kas nav vesels skaitlis, ievade tiks partraukta;
if (scanf("%d", &n) != 1) //nosacijumi
if (n == 0)
if (n % 2)
printf("\nTu ievadiji %d nepara skaitlus un %d para skaitlus.", nEven, nOdd, nZero); //tiek paradits teksts
printf("\nNo visiem ievaditajiem skaitliem, %d procenti ir para skaitli.\n", procenti);
procenti = nOdd/nEven%100; //tiek aprekinati procenti (diemzel nedarbojas pareizi)
return procenti; //tiek atgriezti procenti
40 freelance font une offre moyenne de €20 pour ce travail
Hi, Immediate Available, Expert of this task.. Please visit few recent jobs performed: [login to view URL] [login to view URL] [login to view URL] [login to view URL] http://mysocialmedia10 Plus
Hi there, I would like to do this project if given the opportunity. Let me know if you are interested so I can have further details. Thanks.
Hello, I have gone through your outsourced requirements "I would like to hire a Programmer" and have analyzed that I have right skills (HTML, PHP, Programming, Software Architecture, Software Development) to execu Plus
Good day! We have a team of certified, professional C developers who'd like to work on your project. We have already successfully delivered many C projects here on Freelancer usually for projects of students. PM me so Plus
Dear Hiring Manager, My work experience as shown in my profile have helped me develop mastery in Website design & development. As proof, I got positive feedback from my previous employers. Please have a look of m Plus
Hi there, We are an experts group with the Programmers and My team available to start working right away. Please visit our Portfolio here: https://www.freelancer.com/u/prowebtechnos.html Ping us to discuss. Plus
Hello, This is not copy/paste message. I read your requirements. I am interested for this job. I have expertise in Wordpress, Laravel, Magento, AngularJS, Ruby on Rails, Core PHP etc. technologies and can work on Plus
I have excellent command on C programming and I can complete the task within the next one hour. Thanks.
Hello, Greetings from Dotsquares!! Thanks for giving us the opportunity to bid over the requirement. It is really existing to see your requirement regarding to "Hire a Programmer" and feel really interested to Plus
Hi, I have just read the details regarding the project and interested in working for your project. I have confident to complete this within specified time. I will be glad to share my expertise with you. ***An Plus
Happy New Year! I am an expert of C++ and C. And this is the best skill of me. I have enough experience of teaching it to the others, and develop many sort of program. And further more. I have grasped the data structur Plus
Hi, I hope you are doing well. I graduated from the University of Texas at Austin with a BS in Computer Science 10-11 months ago. I have done a lot of C/C++ and Java projects back in college. If you look at my profi Plus
Hello, I am expert in java/c/c++ and i can deliver your task in the least time and least payments. The code will be well commented and well formatted for better understanding. I believe in long term relations so first Plus
Hi, Dear Sir, Greetings from IndiaSofttel, We reviewed your requirement for the Programmer. We are expert in java/j2EE development and would like to discuss your project specification. Please review my propos Plus
Hi there! Have done this type of work before and am good at C programming! Please feel free to message me with any additional information or with questions if any! Thanks! -Steve