using System;
class FOR
{
private int fors=0;
private int forson=0;
public bool LOOP(int k)
{
forson = fors;
fors += 1;
return (forson < k);
}
}
class Program
{
static void Main()
{
FOR J = new FOR();
while (J.LOOP(10)){
Console.WriteLine("Car is moving");
}
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: