Hello, I’m working on this task:
Create string variable iSwear with value “I am a member of the resistance” and output it 5 times every time from the new line.
Here is my code:
public class SwearYouAreMemberOfResistance
{
public static void Main(string[] args)
{
string iSwear = "I am a member of the resistance";
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
Console.Writeline(iSwear);
}
}
Can anyone please help me to solve it?