Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

hello,this is for my C++ programming assignment, I did everything I just need someone to edit my work, I′m getting so many errors when i run it through a compiler especially after I enter the values...

1 answer below »
hello,this is for my C++ programming assignment, I did everything I just need someone to edit my work, I′m getting so many errors when i run it through a compiler especially after I enter the values of the lengths (a requirement in the assignment) I did everything to fix the problem but nothing is working. I have the question and a sample from chegg (in green) and my work (in purple) please make sure that there are no errors when you run it onhttps://www.onlinegdb.com/online_c++_compiler .also please make sure to enter the 3 different values three times (just copy and paste everything and just change the numbers) thank you so much
Answered Same Day May 20, 2021

Solution

Pulkit answered on May 20 2021
164 Votes
Sol/.vscode/settings.json
{
"files.associations": {
"iostream": "cpp"
}
}
Sol/info.txt
Hey, I am pulkit aggarwal expert which did your assignment. If you like my work and satisfy with my work you can connect with me directly.
You can just drop a mail or text me on whatsapp me.
Email - [email protected]
Mobile No - +918950481450
Sol/machine-problem-1-ifnwcpjb.docx
#include #include #include #define PI 3.14159
using namespace std;
int main(void)
{
double pI= 3.14159;
cout
fixed
showpoint
setpercision(15) ;
cout
"length is"
length
endl;
function to find length,double square_area,double circle_area,double cube_volume,cube volume rounded up, lengthInMeters, user inputs length (in centimeters) as a floating point value
cout
"Geometry formulas by Jessica Rice\n";
cout
"Enter one floating point number for length:";
cin
length;

centimeters to meters
    lengthInMeters=1000/100.00;
cout
"The Entered number is "
length
" " cm or "
(lengthInMeters)"
" m."
endl;


function to find square_area (length squared)
double square_area=lengthInMeters*lengthInMeters;

function to find circle_area(radius squared times PI)
double circle_area=(lengthInMeters*lengthInMeters)*PI;


function to find cube_volume (length cubed)
double cube_volume=lengthInMeters*lengthInMeters*lengthInMeters;


input echoe
cout
"Area of square"
"(double square_area)
"; sq.m"
endl;
cout
"Area of Circle"
"(double circle_area)
"; sq.m"
endl;
cout
"Difference is"
"(double square_area-double circle_area)"
; "sq.m."
endl;
cout
"Cube volume rounded up is "
ceil"(cube_volume)
" cu. m"
endl;
cout
"cube volume rounded down "
floor"(cube_volume)
"cu.m"
endl;

return();
}
Sol/machine-problem-1-questions-w0m
f0u-xklembzk.doc
Skills Needed: cin, cout, constants, arithmetic expressions, rounding, int main, meaningful variable names, spacing, indentation, documentation, output.
Computing Basic Geometric Formulas
Write a program to compute answers to some basic geometry formulas. The program prompts the user to input a length (in centimeters) specified as a floating point value. The program then echoes the input and computes areas of squares and circles and the volume of a cube. For the squares, you will assume that the input length value is the length of a side. For the circles, this same value becomes the diameter. Use the meter value input to calculate the results in square (or cubic) meters and then print the answers in square (or cubic)...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here