Let's test everyone (to see how many people can program)
Please write a program in Pascal with the following requirements: input three integers, output them in descending order. Friends who know programming, this should be simple, right?
Replies (10)
Sofa!
Intruder!
A subtle sorrow and hidden resentment arise; at this moment, silence surpasses sound.
program 1 var a,b,c,p,s:real; begin white('input a,b,c:') readln(a,b,c) p: =a+b+c)/2; s:=sqrt(p*(p-a)*(p-b)*(p-c)); writeln('s=',s:10:2); end
Correct solution on the fourth floor
Fourth-floor expert!
J2ME
Top 4th floor
Seventh floor, what do you mean?
Seventh floor, use Pascal, not Java
— All replies loaded —