0
Abc generator application
Can you guy's help me how to create a program like If I enter x Program will execute x y z Or if i enter a The program will execute a b c d e f g h I j k and so on
4 Respostas
0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
class Program
{
static void Main(string[] args)
{
string abc = "abcdefghijklmnopqrstuvwxyz";
string x;
Console.WriteLine("please enter one world of abc to z ");
x=string.Copy( Console.ReadLine ());
String abce = x;
int value = abc.IndexOf(abce);
for (int i = value;i<abc.Length;i++)
{
abce = null;
abce = abce + (quot; {abc[i]}");
Console.Write(abce);
}
}
}
}
+ 1
yeah, post your attempt.
+ 1
Which language?
+ 1
Fix I have doen it thanks