Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Vowel
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string word = "cello,guitar,violin,double bass"; string[] instruments =word.Split(','); string vow= "a,e,i,o,u"; string[] vowels= vow.Split(','); for(int i= 0 ;i<instruments.Length;i++) { // char[] instrum =instruments[i].ToCharArray(); string instrumnt =instruments[i]; for (int j= 0;j<vowels.Length;j++) { instrumnt =instrumnt.Replace(vowels[j]," "); } Console.WriteLine(instrumnt); } } } }
run
|
edit
|
history
|
help
0
Hello world... I need cc!!
Coding Exercise
Fórum ➡ Get all combinations for ▶different◀ Id's ♦
findrotations
StringCompare
Moon Gravity
Simple Parallel.For example
Raise Meldings logikk
AKASH B AND HIS CODES\\
sayalitrialc#