using System;
public class HelloWorld
{
public static void Main(string[] args)
{
char vote;
int y=0, t=0, n=0, v=0;
Console.WriteLine ("if you want y, if not n, if nutral d");
vote= char.Parse(Console.ReadLine());
while (vote!='f'){
v=v++;
if (vote = 'y')
y=y++;
if (vote = 't')
t=t++;
if (vote = 'n')
n=n++;
vote= char.Parse(Console.ReadLine());
}
if (y/v>0.6)
Console.WriteLine ("הרפורמה תאומץ");
if (t/v>0.6)
Console.WriteLine ("הרפורמה לא תאומץ");
}
}
using System;
public class HelloWorld
{
public static void Main(string[] args)
{
char vote;
int y=0, t=0, n=0, v=0;
Console.WriteLine ("if you want y, if not n, if nutral d");
vote= char.Parse(Console.ReadLine());
while (vote!='f'){
v=v++;
if (vote = 'y')
y=y++;
if (vote = 't')
t=t++;
if (vote = 'n')
n=n++;
vote= char.Parse(Console.ReadLine());
}
if (y/v>0.6)
Console.WriteLine ("הרפורמה תאומץ");
if (t/v>0.6)
Console.WriteLine ("הרפורמה לא תאומץ");
}
}