Please send me answer of this code from the given output ,just i have written the code but some error so please write correct code
Operations
In mathematics and computer science, an operation is an event that is carried out to satisfy a given task. Basic operations of a computer system are input, processing, output, storage, and control.
Basic Operators
An operator is a symbol that indicates an operation to be performed. We are familiar with operators in mathematics; operators used in computer programming are—in many ways—similar to mathematical operators.
Division Operator
We all learnt about division—and the division operator—in school. You probably know of both these symbols as representing division:
Modulus Operator
Modulus can be represented either as (mod or modulo) in computing operation. Modulus comes under arithmetic operations. Any number or variable which produces absolute value is modulus functionality. Magnitude of any function is totally changed by modulo operator as it changes even negative value to positive.
Operators
In the realm of programming, operators refer to the symbols that perform some function. They are tasked with instructing the compiler on the type of action that needs to be performed on the values passed as operands. Operators can be used in mathematical formulas and equations. In programming languages like Python, C, and Java, a variety of operators are defined.
Please send me answer of this code from the given output ,just i have written the code but some error so please write correct code and i will give you like sure sir
![OUTPUT
Microsoft Visual Studio Debug Console
Chris Flooring Cost Estimator
Please enter length of floor: 75
Please enter width of floor: 15
Please enter the cost per square foot for the flooring selected: 5.25
For a total floor size of 1125 the flooring cost is $5,906.25
It will take 28.13 hours to install the floor at a cost of $1,005.47
The total finished cost for the new floor is: $6,911.72
Show Transcribed Text
using System;
using static System.Console;
namespace Exercise1_Console
{
class Program
{
// variable declaration
static int floor Length, floorWidth;
static double costPerSqFt, totalMaterial,
totalLabor, installTime, total;
static string floor LengthString,
floorWidthString, costSqFtString;
// initialize constants
const double COST_PER_HOUR = 35.75;
const double SQ_FT_PER_HOUR = 40.00;
static void Main(string[] args)
{
Console.WriteLine("Jo's Flooring Cost
Estimator");
// get user input
Console.Write("\nPlease enter the floor length:
");
floor LengthString = ReadLine();
floorLength =
Convert.Tolnt32(floorLengthString);
Console.Write("Please enter the floor width: ");
floorWidthString = ReadLine();
floorWidth =
Convert.Tolnt32(floorWidthString);
Console.Write("Please enter the cost per
square foot for the chosen flooring: ");
costSqFtString = ReadLine();
costPerSqFt =
Convert.ToDouble(costSqFtString);
Console.WriteLine("--
// calculate total cost
totalMaterial = floorLength * floorWidth *
costPerSqFt;
installTime = (floorLength* floorWidth) /
SQ_FT_PER_HOUR;
totalLabor = installTime * COST_PER_HOUR;
total = totalLabor + totalMaterial;
-");
// display results
Console.WriteLine("For a total floor size of {0}
the flooring cost is {1}",
(floor Length * floorWidth),
totalMaterial.ToString("C"));
Console.WriteLine("It will take {0} hours to
install the floor at a cost of {1}",
installTime.ToString("F"),
totalLabor.ToString("C"));
Console.WriteLine("The total installation cost
for the new floor is: {0}",
total.ToString("C"));
}
}
// end of program](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1b3602e9-94a4-4c97-8736-40eab99c1858%2Fdff24fce-d1b5-42e8-82a0-f408d91e7c63%2Fdwn70vu_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Operations Research : Applications and Algorithms](https://www.bartleby.com/isbn_cover_images/9780534380588/9780534380588_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![Operations Research : Applications and Algorithms](https://www.bartleby.com/isbn_cover_images/9780534380588/9780534380588_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)