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]);
}...
User Profile
Collapse
-
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;
No activity results to display
Show More
Leave a comment: