Create a code

ALEXOLIVA6
Project1StarterCode.zip

starter.cpp

starter.cpp

  "Geometry Calculator\n\n" ;
"Select a figure" << endl ;
"1. Circle\n" ;
  "2. Rectangle\n" ;
  "3. Quit\n\n" ;
  "Enter your choice (1-3): " ;
"The valid choices are 1 through 3. Run the\n"
                  <<   "program again.\n" ;
  
  "\nEnter the circle's radius: " ;
  "\nThe radius must be greater than zero.\n" ;
"Enter 1 for area or 2 for circumference: " ;
    "\nThe area is "   <<  your code  <<  endl ;
             }
   "Circumference" << endl ;
       "\nThe circumference is "   <<  your code  <<  endl ;
   "Invalid selection" << endl ;
  "\nEnter the rectangle's length: " ;
"Enter the rectangle's width: " ;
      "\nOnly enter positive values for "   <<   "length and width.\n" ;
"Enter 1 for area or 2 for perimeter" << endl ;
   "Area" << endl ;
     "\nThe area is "   <<  your code <<  endl ;
    "Perimeter" << endl ;
            
    "\nThe perimeter is "   <<  your code <<  endl ;
    "Invalid selection" << endl ;
   "Program ending.\n" ;
      "The valid choices are 1 through 3. Run the\n"   <<   "program.\n" ;