Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It needs to be C# Instructions MoveEstimator...+ MoveEstinator.cs (11,35): error

ID: 3744841 • Letter: I

Question

It needs to be C#

Instructions MoveEstimator...+ MoveEstinator.cs (11,35): error CS 0117 double' does not contain a Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile 1 using Systen; 2 using static Systen.Console; 3 class MoveEstimaton definition for 'parse /usr/lib/mono/4.5/mscorlib.dll (L ocation of the symbol related to previous error) MoveEstimator.cs (12,35): error CS 0117: "double' does not contain a definition for parse' /usr/lib/nono/4.5/nscorlib.dll (L ocation of the symbol related to previous error) Compilation failed: 2 error(s), 5 static void Main() Write a program named MoveEstimator that prompts a user for and accepts estimates for the number of hours for a job and the number of miles involved in the move and displays the total moving fee const double baseRate200.00 const double hourlyRate 150.00; const double mlesRate = 2.88 double hours double.parse(ReadLine()) double miles double.parse(ReadLine()); double estimatehourlyRate hours milesRate* warning:s Cannot open assembly 'MoveEstinat or.exe': No such file or director 16 12 13 For example, if 25 hours and 55 miles are input the output would be displayed as: For a move taking 25 hours and going 55 miles the estimate is $4,060.00 milesbaseRate; 14 WriteLine( "For a move taking 0 hours and going 1) miles the estimate is $[2)", hours, miles, estinate.ToStringc"C") 15 16 17 Grading When you have completed your program, click the Submit button to record your score

Explanation / Answer

using System;
using static System.Console;

class MoveEstimator
{
static void Main(string[] args)
{
const double baseRate = 200.00;
const double hourlyRate = 150.00;
const double milesRate = 2.00;

int hours = Convert.ToInt32(ReadLine());
int miles = Convert.ToInt32(ReadLine());

double estimate = baseRate + (hours * hourlyRate) + (miles * milesRate);

WriteLine("For a move taking {0} hours and going {1} miles the estimate is ${2:F2}", hours, miles, estimate);
}
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote