Answer to Question #279054 in C++ for Joshua

Question #279054

Power Trio

by CodeChum Admin

Multiplying two numbers is a piece of cake, but how about multiplying three of them, either being a negative of positive number? With programming and proper code, these tasks are easy to handle.


You're a programmer, right? Then code this one for me!

1
Expert's answer
2021-12-13T04:28:08-0500
#include <iostream>
#include <string>


using namespace std;






int main()
{
	float pieceCake1;
	float pieceCake2;
	float pieceCake3;
	cout<<"Enter three piece of cake: ";
	cin>>pieceCake1>>pieceCake2>>pieceCake3;
	float product=pieceCake1*pieceCake2*pieceCake3;
	cout<<"Product: "<<product<<"\n\n";


	system("pause");
	return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog