Can you do my assignment?

Anonymous
timer Asked: Jun 13th, 2018
account_balance_wallet $10

Question description

could you answer these two problems ASAP, they are related to C#:


Problem 1: What word is created?

string word = "Abomination";

string answer;

word = word.Remove(0, 1);

word = word.Remove(1, 4);

string tempstring = word.Substring(4, 2);

word = word.Remove(3, 3);

string tempstring2 = word.Substring(0, 1);

tempstring2 = tempstring2.ToUpper();

word = word.Remove(0, 1);

answer = tempstring2 + word + tempstring;

ANSWER:

Problem 2: What word is the result?

string word = "Onomatopoeia";

string answer;

word = word.Substring(0, 11);

word = word.Insert(1, "c");

word = word.ToLower();

word = word.Substring(0, 9) + "u";

word = word.Insert(word.Length, "s");

word = word.Replace('n', 't');

string temp1 = word.Substring(0, 4);

word = word.Remove(0, 4);

string temp2 = word.Substring(4, 3);

string temp3 = temp1.Substring(0, 1);

temp1 = temp3.ToUpper() + temp1.Substring(1, 3);

answer = temp1 + temp2;

ANSWER:


Tutor Answer

ProfDwayne01
School: Cornell University

Hello check the solutions in the document Thank you for your time

Problem 1: What word is created?
string word = "Abomination";
string answer;
word = word.Remove(0, 1);
word = word.Remove(1, 4);
string tempstring = word.Substring(4, 2);
word = word.Remove(3, 3);
string tempstring2 = word.Substring(0, 1);
tempstring2 = tempstring2.ToUpper();
word = word.Remove(0, 1...

flag Report DMCA
Review

Anonymous
Excellent job

Similar Questions
Hot Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors