Hello, I’m working on this task, please help??:
Create 2 int variables: consequences and causes, with initial values 80 and 20 correspondingly. Insert your variables into the string, so that the final output is:
The Pareto principle states that for many outcomes, roughly 80% of consequences come from 20% of causes.
Here is my code:
public static class CalculateYourSalary
{
public static void Main()
{
int consequences = 80;
int causes = 20;
string consequences = "80"
string causes = "20"
Console.WriteLine("The Pareto principle states that for many outcomes, roughly" + consequences + "% of consequences come from" + causes + "% of causes.");
}
}
Can anyone please help me to solve it?