Board index » delphi » Please help me. A c++ builder program

Please help me. A c++ builder program

Hello,everybody:

I have a question.Please help me.
I have a small visual program,must coding by  "C++ builder 3.0"
If you can help me,please mail the source code to my mailbox
Thank you very much.

                      digi...@tcts.seed.net.tw

Question:

      Please write a program to calculate the "average" of
      "chinese_grade + english_grade + math_grade "

program must:
      1.Input Student_no
      2.Input chinese_grade
      3.Input english_grade
      4.Input math_grade
      5.Output average

     Hint:  average=(chinese_grade + english_grade + math _grade)/3

 

Re:Please help me. A c++ builder program


3?? schrieb:

Quote
> [...]

a) This is a Pascal newsgroup, not C++
b) Nobody is going to do your homework
c) Nobody is going to send email, because out of politeness, you should
condescend to have a look at the newsgroup to see if someone has made
efforts to answer you.

I thought that at least in a Pascal newsgroup, I wouldn't be confronted
with that stupid C/C++ language. Ooooh great... :-(

Re:Please help me. A c++ builder program


you're right... I hate that case sensetive stupid C/C++ too... Pascal Rulez
Forever!!!

Quote
Frdric <f...@rz-online.de> wrote in message

news:36AC8CB7.A5F57C02@rz-online.de...
Quote
>3?? schrieb:

>> [...]

>a) This is a Pascal newsgroup, not C++
>b) Nobody is going to do your homework
>c) Nobody is going to send email, because out of politeness, you should
>condescend to have a look at the newsgroup to see if someone has made
>efforts to answer you.

>I thought that at least in a Pascal newsgroup, I wouldn't be confronted
>with that stupid C/C++ language. Ooooh great... :-(

Re:Please help me. A c++ builder program


Quote
The NightmarE <Nightm...@santi.demon.nl> wrote in message

news:917287380.5919.0.spot.d4ee1e86@news.demon.nl...

Quote
>you're right... I hate that case sensetive stupid C/C++ too... Pascal Rulez
>Forever!!!

well i wouldn't go quite that far.... basic kicks its arse at string
parsing... in fact pascal is pretty{*word*99}p... more of a begginers language!
Quote

>Frdric <f...@rz-online.de> wrote in message
>news:36AC8CB7.A5F57C02@rz-online.de...
>>3?? schrieb:

>>> [...]

>>a) This is a Pascal newsgroup, not C++
>>b) Nobody is going to do your homework
>>c) Nobody is going to send email, because out of politeness, you should
>>condescend to have a look at the newsgroup to see if someone has made
>>efforts to answer you.

>>I thought that at least in a Pascal newsgroup, I wouldn't be confronted
>>with that stupid C/C++ language. Ooooh great... :-(

Re:Please help me. A c++ builder program


Quote
Paul Maunders wrote:
> well i wouldn't go quite that far.... basic kicks its arse at string
> parsing... in fact pascal is pretty{*word*99}p... more of a begginers language!

Ridiculous. Tell me one thing you can do in C you cannot do in Pascal.

Re:Please help me. A c++ builder program


Quote
Frdric wrote:
> Ridiculous. Tell me one thing you can do in C you cannot do in Pascal.

Write code, that looks like THIS:    ;-)))

==================================================================
#include <io.h>
float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||
(h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_
%6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}
==================================================================

    Bye,
        Ingo

Re:Please help me. A c++ builder program


Quote
Ingo van Lil wrote:
> #include <io.h>
> float o=0.075,h=1.5,T,r,O,l,I;int _,L=80,s=3200;main(){for(;s%L||
> (h-=o,T= -2),s;4 -(r=O*O)<(l=I*I)|++ _==L&&write(1,(--s%L?_<L?--_
> %6:6:7)+"World! \n",1)&&(O=I=l=_=r=0,T+=o /2))O=I*2*O+h,I=l+T-r;}

If my stomach were as strong as a C compiler, I coulswallow}w a bicycle at
once. :-)

Re:Please help me. A c++ builder program


Quote
Frdric wrote:
> > #include <io.h>
> If my stomach were as strong as a C compiler, I coulswallow}w a bicycle at
> once. :-)

It's not a joke, it really works. :-)

    Bye,
      Ingo

Re:Please help me. A c++ builder program


Quote
Ingo van Lil wrote:
> It's not a joke, it really works. :-)

It looks like a message from outer space! The aliens are among us! :-)

Other Threads