C#: I wanted to do do an excerpt from a Dr.Seuss Book "oh the places youll go". Im stuck on how to include all of the requirements.  my code so far: using System;   class Program {     static void Main() {         string paragraph = “You have brains in your head. \You have feet in your shoes. \You can steer yourself any direction you choose. \You're on your own. \And you know what you know. /And YOU are the one who'll decide where to go...”\"";           string upperCase = paragraph.ToUpper();         string replaced = upperCase.Replace("");           Console.WriteLine($"{replaced}\n- Dr.Seuss");     } }

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

C#:

I wanted to do do an excerpt from a Dr.Seuss Book "oh the places youll go". Im stuck on how to include all of the requirements. 

my code so far:

using System;

 

class Program {

    static void Main() {

        string paragraph = “You have brains in your head. \You have feet in your shoes. \You can steer yourself any direction you choose. \You're on your own. \And you know what you know. /And YOU are the one who'll decide where to go...”\"";

 

        string upperCase = paragraph.ToUpper();

        string replaced = upperCase.Replace("");

 

        Console.WriteLine($"{replaced}\n- Dr.Seuss");

    }

}

SDE-193: Programming in C#
Assign 1.1 - Quote
Assignment Content
Choose a multi-line paragraph from a favorite book or poem and create a program in Visual
Studio that prints it to the screen.
Use the following in your program:
●
• a string variable
concatenation
●
• string interpolation
• ToUpper or ToLower methods
the Replace method
Copy and paste your code into a text document and submit your .txt file
Transcribed Image Text:SDE-193: Programming in C# Assign 1.1 - Quote Assignment Content Choose a multi-line paragraph from a favorite book or poem and create a program in Visual Studio that prints it to the screen. Use the following in your program: ● • a string variable concatenation ● • string interpolation • ToUpper or ToLower methods the Replace method Copy and paste your code into a text document and submit your .txt file
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Reference Types in Function
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT