Answer:
using System;
class Program
{
public static void Main(string[] args)
{
Random rnd = new Random();
int tries = 0;
while (true)
{
tries++;
Console.Write("What do you think the total of two six-sided die will be? ");
int guess = int.Parse(Console.ReadLine());
int total = rnd.Next(1, 7) + rnd.Next(1, 7);
Console.Write($"The total was {total}. ");
if (total == guess)
{
Console.WriteLine($"Congratulations! It took you {tries} tries to guess successfully.");
break;
}
else
{
Console.WriteLine("Try again!");
}
}
}
}
Explanation:
Worst case you could be guessing forever...
Since Anil needs to show the overlap of people who live in a certain neighborhood in his city that supports a specific political candidate, the type of conceptual diagram which he should use is a: B: Venn diagram.
<h3>What is a Venn diagram?</h3>
A Venn diagram can be defined as a circular graphical (visual) tool that is typically used for representing, logically comparing and contrasting two (2) or more finite sets of data such as objects, students, events, voters, concepts, people, etc.
In this context, we can reasonably infer and logically deduce that a Venn diagram is a type of conceptual diagram which can be used by Anil in illustrating the overlap of people who are living in a certain neighborhood in his city and supports a specific political candidate in an election.
Read more on Venn diagram here: brainly.com/question/24581814
#SPJ1
A many periphels can be used
Answer:
e.
public static void example(int x, in y)
Explanation:
The header comprises the access modifiers (public static), return type (void), method name (example), and parameters with the type of variable before the name of the parameters (int a, int b).