battle programmers alliance
Would you like to react to this message? Create an account in a few clicks or log in to continue.

battle programmers allianceLog in

battle programming a forum for elite programmers with extreme will power to sharpen their skills

descriptiondICurrency skill convert sums according to exchange rates from API EmptydICurrency skill convert sums according to exchange rates from API

more_horiz
video :


https://streamable.com/1m22r

example :
x euro to dollar // input
n dollas // output

has 3 currency at this point

classes added :
Currency
DICurrency

updates TTSVoice with new relevant voice files

and one line of code in the cohabit class to add this skill

this skill can also be used as a level 2 or 3 BTW

hadouken

_________________
MB over and out emp it up

descriptiondICurrency skill convert sums according to exchange rates from API EmptyRe: dICurrency skill convert sums according to exchange rates from API

more_horiz
git link :

https://github.com/yotamarker/public-livinGrimoire

alert

descriptiondICurrency skill convert sums according to exchange rates from API EmptyRe: dICurrency skill convert sums according to exchange rates from API

more_horiz
updated DICurrency class to include offline conversions
https://streamable.com/r1plwu

descriptiondICurrency skill convert sums according to exchange rates from API EmptyRe: dICurrency skill convert sums according to exchange rates from API

more_horiz
maybe we should add
Double sum = 1.0;
sum = (sum * 9 / 5) + 32;// celsius to fahrenheit formula
System.out.println(sum);
Double sum2 = 10.0;
sum2 = (sum2 - 32) * 5 / 9;// fahrenheit to celsius formula
System.out.println(sum2);
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum