User Profile

Collapse

Profile Sidebar

Collapse
wkid87
wkid87
Last Activity: Nov 21 '07, 05:51 AM
Joined: Oct 9 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • wkid87
    replied to C# Perfect Numbers
    in .NET
    Here is what I have so far:
    Code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    
    namespace ConsoleApplication1
    {
        class PerfectNumbers
        {
            static void Main(string[] args)
            {
    
            }
            public string Perfect(int value)
            {
    
            }
    
            public void FindPerfects()
    ...
    See more | Go to post

    Leave a comment:


  • wkid87
    started a topic C# Perfect Numbers
    in .NET

    C# Perfect Numbers

    Using C# Microsft Visual C#, Console Application

    I'm needing help with the user entering in a number to tell if it perfect or not. I have the perfect number figure out. Here in the instruction:

    1. An integer number is said to be a perfect number if its factors, including 1 (but not the number itself), sum to the number. For example, 6 is a perfect number, because 6 = 1 + 2 + 3. Write a method Perfect that determines...
    See more | Go to post
    Last edited by wkid87; Nov 4 '07, 05:49 PM. Reason: code didn't post

  • wkid87
    replied to C# init arrays
    in .NET
    Thanks. One more thing. Is there a way I can space the numbers out instead of being so jam.
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    Instead of displaying the results in the each method. I want the result only display in the Answer method. I want to return the Add, Subtract, and Multipy Methods so I can get the reults to display in the Answer method. How will I do that.
    Code:
     using System;
    
    
    
    public class Matrix
    {
    
        public static void Main(string[] args)
        {
    
            int[,] matrix1 = { { 1, 2
    ...
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    I got it figure out. Instead of displaying my results in each Method I need it to be display in the Answer Method. I need to pass the arguments to the Answer Method The next problem I having is the answer that it is displaying is not in a matrix but in a straight line. Here are the directions. I want to make sure I have this right:

    Write a method that sets data size and the elements for each of the matrices.
    Write a method...
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    Is the a way that you can post the code on here. I retried to open the code but saying something it can't convert.

    No I have not figure that out. I tried to do a ConvertToInt32 and keep getting errors....
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    I trying to figure out the multipication. I know I probably need three for statements but I'm still stuck.
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    It is a Console application...
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    Its Microsoft Visual C# 2005, sorry. Was on my laptop earlier and was confuse.
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    Its Microsoft Visual C# 2005
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    I use Visual Basic 2005.
    See more | Go to post

    Leave a comment:


  • wkid87
    replied to C# init arrays
    in .NET
    Thanks for the link, but it did not help any. Didn't see the code.

    Do you know how to get values from the user?...
    See more | Go to post

    Leave a comment:


  • wkid87
    started a topic C# init arrays
    in .NET

    C# init arrays

    I''m working on a project that will add,multipy,sub tract and divide a matrix. Each one is suppose to be display in a method. I can figure out the addition and subtraction but not the multipication and divison. I also needs help with user input. The user suppose to enter the values in the Display Method, but I'm having trouble with the Console.Intt32. My code is below.
    [CODE]
    using System;

    public class Matrix
    ...
    See more | Go to post
No activity results to display
Show More
Working...