How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask ATLProg Your Own Question

ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 9151
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
44910485
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

Create your own function in C that accepts one input

Customer Question

Create your own function in C that accepts one input parameter and returns a float number.
You decide the theme.
You should provide both your C code and an example call to the C code function.
Be sure to provide an overview of what your function is doing.
Provide a screen capture showing the results of testing your code in an online compiler.
Be sure to test your code with several test cases and show your test case table.
Submitted: 1 month ago.
Category: Homework
Expert:  ATLProg replied 1 month ago.
Hello I can help you by when you need this done
Customer: replied 1 month ago.
Im on a different time than you are it is 4pm where I am now, if you can have in the next 4 hours I would appreciate it. Thanks.
Customer: replied 1 month ago.
I'll be here studying the 2nd part of my assignment.
Customer: replied 1 month ago.
I'm not sure about "theme" but I am hoping you can lead me in that direction as well. Thanks.
Customer: replied 1 month ago.
Im not getting any response from you
Customer: replied 1 month ago.
Since you have not responded yet is it possible that I can have the previous person who assisted me assist me now.
Customer: replied 1 month ago.
I could not figure out how to get that same person.
Expert:  ATLProg replied 1 month ago.
Can you take care of test case table? I can provide you the program for current price.if you want test case too then it will cost a bit more
Expert:  ATLProg replied 1 month ago.
I can have this ready in 1 hr
Customer: replied 1 month ago.
Okay thanks, ***** ***** do the test case you are correct. And thanks. I'll check back. Thanks again.
Expert:  ATLProg replied 1 month ago.
Sure
Expert:  ATLProg replied 1 month ago.

Answer Link: http://pastebin.com/aGWdGgdQ

Please find answer above. Please remember to rate my answer

Customer: replied 1 month ago.
Sir, the code did not run successfully in the ideone compiler
Customer: replied 1 month ago.
Here is the compilation error I get for the answer you providedCompilation error time: 0 memory: 0 signal:0/home/916fEr/cc4AssZw.o: In function `main':
prog.c:(.text.startup+0x17): undefined reference to `kmToMiles'
collect2: error: ld returned 1 exit status
Expert:  ATLProg replied 1 month ago.

which compiler are you using

can you please send me its link

Expert:  ATLProg replied 1 month ago.

Please see the attached snapshot of program working properly on ideaone.com

Expert:  ATLProg replied 1 month ago.

Please let me know if you are still getting issues. Will be great if you send me the error snapshot and i can help you better

Customer: replied 1 month ago.
I am sorry I had to go to another Expert for assistance. Can I ask you a question tomorrow, cause it is late now but I will have questions to ask tomorrow that I hope you can assist me with, since I had to move on to someone else and that consumed my time.
Expert:  ATLProg replied 1 month ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.