using System;
Class Program
{
static main void()
Console.WriteLine("Enter length and speed:");
Console.Write("S = ");
double s = double.Parse(Console.ReadLine);
Console.Write("V = ");
double v = double.Parse(Console.ReadLine);
double t = s / v;
Console.Write("t = {0}\n", t);
Console.ReadLine();
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
using System;
Class Program
{
static main void()
{
Console.WriteLine("Enter length and speed:");
Console.Write("S = ");
double s = double.Parse(Console.ReadLine);
Console.Write("V = ");
double v = double.Parse(Console.ReadLine);
double t = s / v;
Console.Write("t = {0}\n", t);
Console.ReadLine();
}
}