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 errors "c++ forbids comparison between pointer and integer" or "warning: multi-character constant." I realize this is because I have declared repack_method as a char but the string function is not working (even when I change to double quotes and declare strings, that is when I encounter the pointer/integer error). I suspect I need to use the cctype library but am unsure how. How do I fix this?


#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
