// Sample Solution
using System;
namespace Form
{
class Program
{
static void Main(string[] args)
{
// Create Variables
string name = "Shadow";
string breed = "Golden Retriever";
int age = 5;
double weight = 65.22;
bool spayed = true;
// Print variables to the console
/*Console.WriteLine($"Name: {name}");
Console.WriteLine($"Breed: {breed}");
Console.WriteLine($"Age: {age}");
Console.WriteLine($"Weight: {weight}");
Console.WriteLine($"Has been spayed: {spayed}");*/
Console.WriteLine(name);
Console.WriteLine(breed);
Console.WriteLine(age);
Console.WriteLine(weight);
Console.WriteLine(spayed);
}
}
}
No comments:
Post a Comment