Find Jobs
Hire Freelancers

simple java task needed

₹100-400 INR / hour

Anulowano
Opublikowano ponad 6 lat temu

₹100-400 INR / hour

A simple code to be converted to a Psuedo code Here's my code, I need to rewrite it into functional language.. it should be pretty easy assignment, thus the deadline is only a day. #include<iostream> using namespace std; // function that returns absolute difference between 2 numbers // input is a int absoluteDiff(int a) { // variable declaration int b = 4; // condition if(a>b) return a-b; else return b-a; } main(){ // 2 sample runs cout << absoluteDiff(2) << endl; cout << absoluteDiff(8) << endl; } /*SAMPLE OUTPUT 2 4 */ and here's an example of functional language to which above code should be transformed to: function isFive a: integer returns boolean; b: boolean is false; begin if a==5 then !b; else b; endif; end; The program will return false for any input not equal to 5 and it will return true for an input equal to 5.
Identyfikator projektu: 15490385

Informację o projekcie

5 ofert
Zdalny projekt
Aktywny 7 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
5 freelancerzy składają oferty o średniej wysokości ₹206 INR/godz. dla tej pracy
Awatar Użytkownika
Hello Are you there ?. I would like to work with you . therefore let me know your reply . I will hoping your reply . Thank You .
₹277 INR w 40 dni
0,0 (0 opinii)
0,0
0,0
Awatar Użytkownika
I am good at java programming. This program was an easy one. I can do it for you.
₹111 INR w 10 dni
0,0 (0 opinii)
0,0
0,0

O kliencie

Flaga INDIA
Bangalore, India
4,7
205
Członek od sty 29, 2011

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.