CodePudding user response:
Instead of 117 linescase 1: {cin> u; Yuan a=yuan (u); Atul gawande oArea (u); A.S howData (); } break;
Or
case 1: {cin> u; Yuan pa=new yuan (u); Pa - & gt; GoArea (u); Pa - & gt; ShowData (); Delete the pa; } break;
Try it.
CodePudding user response:
Case 1: {cin> u; Yuan * pa=new yuan (u); Pa - & gt; GoArea (u); Pa - & gt; ShowData (); Delete the pa; } break;On a less *