d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Language Question
Prev12
Add Reply New Topic New Poll
Member
Posts: 23,862
Joined: Aug 16 2006
Gold: 20.00
Apr 17 2015 08:48pm
Quote (carteblanche @ Apr 17 2015 07:30pm)
you forgot polish

Code
#include <stdio.h>
#include <math.h>

#define grawitacja 9.81

float CzasSpadku(float h)
{
return(sqrt(2.0*h/grawitacja));
}
float predkosc(float h)
{
return(grawitacja*CzasSpadku(h));
}
float Vkmh(float v)
{
return(3.6*v);
}
int main()
{
float w;

printf("Podaj wysokosc w metrach : ");
scanf ("%f",&w);
printf("Wysokosc : %0.2f [m]\n", w);
printf("Czas : %0.2f \n", CzasSpadku(w));
printf("P{redkosc : %0.2f [m/s]\n", predkosc(w));
printf("Predkosc : %0.2f [km/h]\n", Vkmh(predkosc(w)));
return (0);
}


I like the automatic garbage collection that polish has
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 17 2015 09:32pm
Quote (Eep @ Apr 17 2015 10:48pm)
I like the automatic garbage collection that polish has


I like how its type heavy and it's lack of confusing object oriented programming features.

It's a good straight to the point language.
Member
Posts: 62,215
Joined: Jun 3 2007
Gold: 9,039.20
Apr 17 2015 09:48pm
Polish notation is the best
Member
Posts: 15,717
Joined: Aug 20 2007
Gold: 481.00
Apr 18 2015 07:48am
learn MVC5/C#/ASP and you will probably do good somewhere along the road
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll