//Original code by Jacob Knox. Modified by Jordan Harris-Toovy // BrokenCode.cpp : This file contains the 'main' function. Program execution begins and ends there. //This file has one logic and one syntax error #include using namespace std; int main() { const double PI = 3.142; double radius, height, volume; cout << "Input the cylinder's radius: "; cin >> radius; cout << "Input the cylinder's height: "; cin >> height; volume = radius * radius * PI * height; //Fixed issue where radius was multiplied three times cout.precision(3); cout << fixed << "The volume of a cyliner with radius: " << radius << ", and height: " << height << ", is " << volume; //Fixed issue where + was used instad of << }