☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
Off-Topic
>
Computers & IT
>
Programming & Development
> Language Question
Prev
1
2
Add Reply
New Topic
New Poll
Views: 846
Replies: 13
Track Topic
Eep
Member
Posts: 23,862
Joined: Aug 16 2006
Gold
:
20.00
#11
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
AbDuCt
Member
Posts: 13,425
Joined: Sep 29 2007
Gold
:
0.00
Warn: 20%
#12
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.
j0ltk0la
Member
Posts: 62,215
Joined: Jun 3 2007
Gold
:
9,039.20
#13
Apr 17 2015 09:48pm
Polish notation is the best
t9x
Member
Posts: 15,717
Joined: Aug 20 2007
Gold
:
481.00
#14
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
Prev
1
2
Add Reply
New Topic
New Poll
© 2003-2026 d2jsp
Contact