Abc generator application | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

19th Mar 2021, 4:13 PM
Shahid Jani
Shahid Jani - avatar
4 Answers
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); } } } }
19th Mar 2021, 5:47 PM
Shahid Jani
Shahid Jani - avatar
+ 1
yeah, post your attempt.
19th Mar 2021, 5:32 PM
Slick
Slick - avatar
+ 1
Which language?
19th Mar 2021, 5:42 PM
Pablo Sosa
Pablo Sosa - avatar
+ 1
Fix I have doen it thanks
19th Mar 2021, 5:48 PM
Shahid Jani
Shahid Jani - avatar