// Sample Solution
using System;
namespace StoryTime
{
class Program
{
static void Main(string[] args)
{
// Declare the variables
string beginning = "There was a cat.";
string middle = "She chased a rat.";
string end = "Then ended up fat.";
// Concatenate the string and the variables
string story = beginning + " " + middle + " " + end;
// Print the story to the console
Console.WriteLine(story);
}
}
}
No comments:
Post a Comment