472,125 Members | 1,572 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,125 software developers and data experts.

New @ programming really need a tutor and im struggling and i need some help understanding

one of my assignments is create a class named numbers whose
Main()method holds two interger variables, assign values to the
variables. within the class, create two methods, Sum() and
Difference(),that compute the sum of the difference between the values
of the two variables, respectively. each method should perform the
computation and display the results. in turn call each of the two
methods from Main(), passing the values of the two interger valuesof
the two interger variables.
then

B

Add a method named Product() to the Numbers class. This method should
compute the multiplication product of the two intergers. but not
display the answer. instead it should return the answer to the calling
Main() program, which displays the answer.
sorry for the sloppy typing and if any help or ideas is available it
is greatly appreciated.
Nov 16 '05 #1
4 1534
You DO need a tutor, Tim. Someone who can sit down with you and explain the
concepts one at a time.

This is not something that newsgroups do very well.

Have you looked around the web for tutoring services? Have you asked your
teacher if a tutor is available at your school?

I'd love to help, but there is no way, given this medium, that it would
work.

Get face-to-face help, Tim. Once you "get" the concepts involved, the
assignments will flow naturally.

--- Nick

"Tim M." <ti******@cox.net> wrote in message
news:72**************************@posting.google.c om...
one of my assignments is create a class named numbers whose
Main()method holds two interger variables, assign values to the
variables. within the class, create two methods, Sum() and
Difference(),that compute the sum of the difference between the values
of the two variables, respectively. each method should perform the
computation and display the results. in turn call each of the two
methods from Main(), passing the values of the two interger valuesof
the two interger variables.
then

B

Add a method named Product() to the Numbers class. This method should
compute the multiplication product of the two intergers. but not
display the answer. instead it should return the answer to the calling
Main() program, which displays the answer.
sorry for the sloppy typing and if any help or ideas is available it
is greatly appreciated.

Nov 16 '05 #2
"Tim M." <ti******@cox.net> wrote:
[homework assignment]


You won't learn or understand much if we just give you a solution to
the entire problem.

What have you tried so far, and why didn't it work?

P.
Nov 16 '05 #3
ti******@cox.net (Tim M.) wrote in
news:72**************************@posting.google.c om:
one of my assignments is create a class named numbers whose
Main()method holds two interger variables, assign values to the
variables. within the class, create two methods, Sum() and
Difference(),that compute the sum of the difference between the values
of the two variables, respectively. each method should perform the
computation and display the results. in turn call each of the two
methods from Main(), passing the values of the two interger valuesof
the two interger variables.
then

B

Add a method named Product() to the Numbers class. This method should
compute the multiplication product of the two intergers. but not
display the answer. instead it should return the answer to the calling
Main() program, which displays the answer.
sorry for the sloppy typing and if any help or ideas is available it
is greatly appreciated.


What is your text book for the course? Perhaps one of us, if we are
familiar with the text, can point you to some reading. In teaching C# I
am using the books by Jesse Liberty, "Programming C#" for those who have
worked in Java or C++ and "Learning C#" for absolute newbies. I find
the books quite clear to the students. Perhaps one of these, notvery
expensive paperbacks would help.

--
Dennis Roark

de***@sio.NOSPAMmidco.net
Starting Points:
http://sio.midco.net/denro/www
Nov 16 '05 #4
> What is your text book for the course? Perhaps one of us, if we are
familiar with the text, can point you to some reading. In teaching C# I
am using the books by Jesse Liberty, "Programming C#" for those who have
worked in Java or C++ and "Learning C#" for absolute newbies. I find
the books quite clear to the students. Perhaps one of these, notvery
expensive paperbacks would help.

Thank you for the kind words and the recommendations. Please be aware that I
provide full source code, a FAQ, errata and a link to a private support
forum on my web site: http://www.LibertyAssociates.com. In addition, I try
to spend time on this group answering questions (though with Whidbey on the
horizon, time has been at a premium lately).

Thanks again.
--
Jesse Liberty
..Net Author - O'Reilly Media
http://www.LibertyAssociates.com
Nov 16 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

33 posts views Thread by Joe Cheng | last post: by
10 posts views Thread by Simon Mansfield | last post: by
6 posts views Thread by John Walton | last post: by
34 posts views Thread by Volker Hetzer | last post: by
42 posts views Thread by Kevin Spencer | last post: by
1 post views Thread by J-89 | last post: by
20 posts views Thread by Mike | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.