Question: ***C++*** I am writing a program that will allow the user to repackage their liquid product by calculating the size of the item in order

***C++***

I am writing a program that will allow the user to repackage their liquid product by calculating the size of the item in order to maintain the same volume. I continue to get the error "c++ forbids comparison between pointer and integer". I suspect I need to use the cctype library for the char arrays but am unsure how. What am I doing wrong?

***C++*** I am writing a program that will allow the user torepackage their liquid product by calculating the size of the item in

#include #include #include using namespace std; int main ) / declare variables float ounces fluid: char repack method: char cube [5] char can [4] char ball [5]: cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!