Question: Test 5 - Acronym Given an array of string, words, create a string that is the acronym (first letter of each word). Return the string
Test 5 - Acronym
Given an array of string, words, create a string that is the
acronym (first letter of each word).
Return the string public static string Test5(string [] words)
{ string acronym = ""; foreach(string word in words)
{ acronym += words[0];
} return acronym;
}
the answer that was posted does not return anything
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
