Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 9th, 2004, 12:06 PM   #1
bulio
Hobbyist Programmer
 
bulio's Avatar
 
Join Date: Jul 2004
Location: Location
Posts: 138
Rep Power: 5 bulio is on a distinguished road
level: Beginner/newbie

Notes: Simple code that will print out the results of 3 numbers. the * can be change to add, divide etc.

Made by: Me

using System;
class Test
{
   public static int Multiply(int a, int b, int c)
   {
      return a * b * c;
       }
   public static void Display(string yy)
   {
       Console.WriteLine(yy);
       }
   public static void Main()
   {
       Display(Multiply(50,30,78).ToString());
       }
}
bulio is offline   Reply With Quote
Old Nov 12th, 2004, 9:45 PM   #2
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Umm...

using system;
class test() {
  public static void main() {
    Console.WriteLine((50 * 30 * 78).ToString());
  }
}
__________________

tempest is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:55 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC