User Profile

Collapse

Profile Sidebar

Collapse
Barend
Barend
Last Activity: Jun 7 '12, 02:10 PM
Joined: Jun 3 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Barend
    replied to Decrementing a sentence
    Ok well I have gone and kind of messed it up now by trying a char array, so this is the coding I have now 0_O

    class Program
    {
    static void Main(string[] args)
    {
    char[] sin = "This is a sentence".ToCha rArray();

    for(int i = sin.Length; i >= 0; --i)
    {
    Console.Write(s in[i]);
    }...
    See more | Go to post

    Leave a comment:


  • Barend
    started a topic Decrementing a sentence

    Decrementing a sentence

    Hi, I have a problem with decrementing a sentence in C#, something like:
    This is a sentence
    This is a sentenc
    This is a senten
    This is a sente
    This is a sent
    ... I have no idea how to do it, I have done a diamond etc, which basically just goes :

    Code:
    class Program
        {
            static void Main(string[] args)
            {
               int F = 20;
                int Q = 0;
    ...
    See more | Go to post
    Last edited by PsychoCoder; Jun 3 '12, 07:36 PM. Reason: Code tags added
No activity results to display
Show More
Working...