• Member Avatar for theashman88
    theashman88

    Replied To a Post in Trouble again with arrays any help needed would be great

    I have to count how many times each combination was rolled, that's why i included dice1 and dice2
  • Member Avatar for theashman88
    theashman88

    Created Trouble again with arrays any help needed would be great

    So I'm basically trying to recreate the simulation of two dice being rolled, and I need to count the frequency in a two dimensional rectangular array, then display the array. …
  • Member Avatar for theashman88
    theashman88

    Began Watching Trouble again with arrays any help needed would be great

    So I'm basically trying to recreate the simulation of two dice being rolled, and I need to count the frequency in a two dimensional rectangular array, then display the array. …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Embedding variables within a console.write function

    `Console.WriteLine("Students {0}", variable)` This i understand but what does it mean when you put two numbers within the bracket example: `Console.WriteLine("Students {0,2}: {1,3}", student + 1, grades [student])` What do …
  • Member Avatar for theashman88
    theashman88

    Created Embedding variables within a console.write function

    `Console.WriteLine("Students {0}", variable)` This i understand but what does it mean when you put two numbers within the bracket example: `Console.WriteLine("Students {0,2}: {1,3}", student + 1, grades [student])` What do …
  • Member Avatar for theashman88
    theashman88

    Began Watching Embedding variables within a console.write function

    `Console.WriteLine("Students {0}", variable)` This i understand but what does it mean when you put two numbers within the bracket example: `Console.WriteLine("Students {0,2}: {1,3}", student + 1, grades [student])` What do …
  • Member Avatar for theashman88
    theashman88

    Created Get and Set auto implemented properties

    I understand the concept of using get and set with instance variables, but I am confused about using get and set by themselves For example `public string random {get; set;}` …
  • Member Avatar for theashman88
    theashman88

    Began Watching Get and Set auto implemented properties

    I understand the concept of using get and set with instance variables, but I am confused about using get and set by themselves For example `public string random {get; set;}` …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Problems using arrays with C# working on a program

    I took the liberty of posting the assignment and the work I've done. I can't figure this one out, can anyone help me And I did put an attempt at …
  • Member Avatar for theashman88
    theashman88

    Gave Reputation to tinstaafl in Problems using arrays with C# working on a program

    You were on the right track. You need to add `i` to `answer` for the index of the array: for(int i = 0; i < ticketsSold; i++) { Console.Write("Name: "); …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Problems using arrays with C# working on a program

    In my above code I tried substituting `int i = 0` with `int i = answer` but no luck
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Problems using arrays with C# working on a program

    I think the problem is where its storing the data. When I input the first 6 names this code runs for (int i = 0; i < ticketsSold; i++) { …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Problems using arrays with C# working on a program

    tinstaafl - Thanks that worked out, but there was a problem. I inputted 6 the first time and then entered their names, then I entered 5 and the error came …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Problems using arrays with C# working on a program

    it's for my class
  • Member Avatar for theashman88
    theashman88

    Created Problems using arrays with C# working on a program

    I took the liberty of posting the assignment and the work I've done. I can't figure this one out, can anyone help me And I did put an attempt at …
  • Member Avatar for theashman88
    theashman88

    Began Watching Problems using arrays with C# working on a program

    I took the liberty of posting the assignment and the work I've done. I can't figure this one out, can anyone help me And I did put an attempt at …
  • Member Avatar for theashman88
    theashman88

    Gave Reputation to castajiz_2 in Help understanding code

    I think you got it correct now. But your writting is only a bit incorrect if I may say so. > just adds on everytime the random number is selected. …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Help understanding code

    I apologize for my slow learning I want to thank everyone that posted. So final rundown to make sure I understand. the `++` before the `frequency` just adds on everytime …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Help understanding code

    I think I got it, please correct my if I misunderstood 1. a number between 1 and 6 is produced since 7 is not included 2. frequency[1] stores this number …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Help understanding code

    but what does the incrementer do before frequency. I mean if randomNumber.Next rolls a 6, does it increase it to 7, but if thats the case it does not display …
  • Member Avatar for theashman88
    theashman88

    Created Help understanding code

    using System; public class RollDie { public static void Main( string[] args ) { Random randomNumbers = new Random(); // random number generator int[] frequency = new int[ 7 ]; …
  • Member Avatar for theashman88
    theashman88

    Began Watching Help understanding code

    using System; public class RollDie { public static void Main( string[] args ) { Random randomNumbers = new Random(); // random number generator int[] frequency = new int[ 7 ]; …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Issue with network on virtual machine running CentOS

    I am currently running vmware 10 and I am running CentOS 6.5 in it for a class I am taking. The last time I used it was last thursday, (it …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Issue with network on virtual machine running CentOS

    I got it working, apparently it had something to do with being on the school's network.
  • Member Avatar for theashman88
    theashman88

    Created Issue with network on virtual machine running CentOS

    I am currently running vmware 10 and I am running CentOS 6.5 in it for a class I am taking. The last time I used it was last thursday, (it …
  • Member Avatar for theashman88
    theashman88

    Began Watching Issue with network on virtual machine running CentOS

    I am currently running vmware 10 and I am running CentOS 6.5 in it for a class I am taking. The last time I used it was last thursday, (it …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for changing permissions of directories and folders

    Allow others access files in your home directory by granting them "search" permissions. Create a publicly searchable, but not listable, subdirectory to your home directory, ~/pub. Create two subdirectories of …
  • Member Avatar for theashman88
    theashman88

    Created changing permissions of directories and folders

    Allow others access files in your home directory by granting them "search" permissions. Create a publicly searchable, but not listable, subdirectory to your home directory, ~/pub. Create two subdirectories of …
  • Member Avatar for theashman88
    theashman88

    Began Watching changing permissions of directories and folders

    Allow others access files in your home directory by granting them "search" permissions. Create a publicly searchable, but not listable, subdirectory to your home directory, ~/pub. Create two subdirectories of …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Need help with a question

    I'm stuck on this problem any one know the answer. **Write a query that displays the grade of all employees based on the value of the column JOB, as per …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Need help with a question

    I figured it out, but just to let you know grade wasn't a column select JOB, case JOB when 'PRESIDENT' then 'A' when 'MANAGER' then 'B' < other when then …
  • Member Avatar for theashman88
    theashman88

    Created Need help with a question

    I'm stuck on this problem any one know the answer. **Write a query that displays the grade of all employees based on the value of the column JOB, as per …
  • Member Avatar for theashman88
    theashman88

    Began Watching Need help with a question

    I'm stuck on this problem any one know the answer. **Write a query that displays the grade of all employees based on the value of the column JOB, as per …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Accessing executable file for C#

    I'm currently using Microsoft Visual Studio express 2013 for Windows Desktop. I have a program that I created and want to share it with friends, but I'm trying to locate …
  • Member Avatar for theashman88
    theashman88

    Gave Reputation to hometownnerd in Accessing executable file for C#

    I use VS 2013 Pro and I can find my exes in a folder called {projectfolder}\bin\debug if all you are doing is testing as you run, or could be in …
  • Member Avatar for theashman88
    theashman88

    Created Accessing executable file for C#

    I'm currently using Microsoft Visual Studio express 2013 for Windows Desktop. I have a program that I created and want to share it with friends, but I'm trying to locate …
  • Member Avatar for theashman88
    theashman88

    Began Watching Accessing executable file for C#

    I'm currently using Microsoft Visual Studio express 2013 for Windows Desktop. I have a program that I created and want to share it with friends, but I'm trying to locate …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Comparing strings in C#

    I'm trying to create a program in c# that asks the user a question and then tells him if he is correct or incorrect, the code I am using only …
  • Member Avatar for theashman88
    theashman88

    Gave Reputation to JorgeM in Comparing strings in C#

    You can use the ToUpper() or ToLower() on the input and then compare it to the correct answer in that same case. For example... if (answer.ToLower() == "abu bakr")
  • Member Avatar for theashman88
    theashman88

    Gave Reputation to tinstaafl in Comparing strings in C#

    I think what you want is something like this: Console.Write("List the first sahabi who was promised paradise \n(hint he was Prophet Muhammad (peace be upon him)'s best friend: "); answer …
  • Member Avatar for theashman88
    theashman88

    Replied To a Post in Comparing strings in C#

    how would I convert the input to all lowercase
  • Member Avatar for theashman88
    theashman88

    Created Comparing strings in C#

    I'm trying to create a program in c# that asks the user a question and then tells him if he is correct or incorrect, the code I am using only …
  • Member Avatar for theashman88
    theashman88

    Began Watching Comparing strings in C#

    I'm trying to create a program in c# that asks the user a question and then tells him if he is correct or incorrect, the code I am using only …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for I'm having a problem with locating UID and shells and displaying them

    By examining the first, third and last (seventh) fields of the /etc/passwd file, determine the userid and login shell for your username, the user root, and the user nobody (yes, …
  • Member Avatar for theashman88
    theashman88

    Edited I'm having a problem with locating UID and shells and displaying them

    By examining the first, third and last (seventh) fields of the /etc/passwd file, determine the userid and login shell for your username, the user root, and the user nobody (yes, …
  • Member Avatar for theashman88
    theashman88

    Created I'm having a problem with locating UID and shells and displaying them

    By examining the first, third and last (seventh) fields of the /etc/passwd file, determine the userid and login shell for your username, the user root, and the user nobody (yes, …
  • Member Avatar for theashman88
    theashman88

    Began Watching I'm having a problem with locating UID and shells and displaying them

    By examining the first, third and last (seventh) fields of the /etc/passwd file, determine the userid and login shell for your username, the user root, and the user nobody (yes, …
  • Member Avatar for theashman88
    theashman88

    Marked Solved Status for Copying even numbered files in linux through terminal

    I'm currently having an assignment that wants me to copy a select amount of files. More specifically files that are even using the cp command. The assignment is to copy …
  • Member Avatar for theashman88
    theashman88

    Created Copying even numbered files in linux through terminal

    I'm currently having an assignment that wants me to copy a select amount of files. More specifically files that are even using the cp command. The assignment is to copy …
  • Member Avatar for theashman88
    theashman88

    Began Watching Copying even numbered files in linux through terminal

    I'm currently having an assignment that wants me to copy a select amount of files. More specifically files that are even using the cp command. The assignment is to copy …

The End.