// Sample Solution
using System;
namespace IfElseStatement
{
class Program
{
static void Main(string[] args)
{
int people = 10;
string weather = "nice";
if(people <= 10 && weather == "nice"){
Console.WriteLine("SaladMart");
} else {
Console.WriteLine("Soup N Sandwich");
}
/*people = 12;
weather = "bad";
if(people <= 10 && weather == "nice"){
Console.WriteLine("SaladMart");
} else {
Console.WriteLine("Soup N Sandwich");
}*/
}
}
}
No comments:
Post a Comment