Find Jobs
Hire Freelancers

C Programming task help -5

$10-30 USD

Abgeschlossen
Veröffentlicht vor mehr als 10 Jahren

$10-30 USD

Bezahlt bei Lieferung
Write a C void function printfrac that takes two inputs: a float x and a int r. It returns nothing, but prints out character by character, the radix r digits in the representation of x. The only output library call you are allowed is putchar(), and you have access to the functions, char2int() and int2char() that you wrote for PA1. You are guaranteed that x is a non-negative number that is strictly less than zero, so the first two characters to be printed by your program are "0" and "," Example: printfrac(0.7712, 5) should produce the output 0.3412 I will provide you with everything. The only thing you need to complete is the method described above. You should not worry about anything else. Can you do it? Just so you can decide the file for the assignment is attached. Right now I have an infenet loop, that needs to be fixed. Then just a few lines of code needs to be added. Not more than 6 lines. ================================================== I want this in 12 hours from now Price : $ 20
Projekt-ID: 5333338

Über das Projekt

14 Vorschläge
Remote Projekt
Aktiv vor 10 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
A proposal has not yet been provided
$19 USD in 1 Tag
4,9 (1169 Bewertungen)
7,4
7,4
14 Freelancer bieten im Durchschnitt $19 USD für diesen Auftrag
Avatar des Nutzers
Hi. I can complete your radix program in like 5-6 hours from now or sooner, depending on when you could accept my bid. I have 10 years of C/C++ experience. Thanks! And yes, I can do it, definitely!
$20 USD in 1 Tag
5,0 (103 Bewertungen)
5,9
5,9
Avatar des Nutzers
Hi, I can do this in the next 2hrs. But can you get me more examples. Or is it possible for you to explain me as what does thie statement mean "radix r digits in the representation of x" Thanks
$20 USD in 1 Tag
5,0 (55 Bewertungen)
5,8
5,8
Avatar des Nutzers
Hi Ready to start right away. All the best Alexei
$20 USD in 1 Tag
4,9 (75 Bewertungen)
5,7
5,7
Avatar des Nutzers
hello , i get the whole idea and its a matter of few minutes but there are few changes need to be made and you need to provide "radix.h" header file for this ........ thanx .... waiting for your reply ... regards ..
$20 USD in 0 Tag
4,8 (20 Bewertungen)
4,6
4,6
Avatar des Nutzers
A proposal has not yet been provided
$10 USD in 1 Tag
5,0 (6 Bewertungen)
3,2
3,2
Avatar des Nutzers
Hello Mate.. We can do this, No Award No Milestone. Pay only after your task get completed Thanks & Regards Team Cubeheap
$25 USD in 1 Tag
5,0 (1 Bewertung)
2,9
2,9
Avatar des Nutzers
hi, i can do this for you in a day. Let me know if I can help. Thanks................................
$20 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi , I can do this, I can see some errors in ur code, but I need to know exactly what printFrac is supposed to do, print a given number character by character to the specified decimal place? If you can reply back with a sample example of how o/p has been derived it will be easy. x = 0.7712 and r=5, int left =x*r; // left = 3 //getting the left side of the decimal float org=x*r; // orig = 3.856 //getting the mult of radix and value float right =org-left; // right = 0.856; //getting the right side of the decimal char ch ; ch= int2char(r, left); // r= 5 and left = 3 putchar (ch); // output = 3 // which voids ur statement as, first two character needs to be ""0" & "." Please getback, In the mean time , i will try to figure out what u r exactly trying to achieve.
$20 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
Hi I can do this task for you. I will complete this within one hour .
$15 USD in 0 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
hey,this is very easy task and u shouldn't spend more than 12 $ for this.........................................................................
$12 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
I have more than five years experience with C programming. I can do this for you in 12 hours next. It is so simple task.
$15 USD in 0 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
A proposal has not yet been provided
$16 USD in 7 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von INDIA
New Delhi, India
5,0
653
Zahlungsmethode verifiziert
Mitglied seit Nov. 23, 2012

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.