I'm having a hard time programming this question: code an if/else statement that test the value of a string variable named shippingMethod to determine if it has a value of "UPS," "FEDEX," or another value. If the value is "UPS," code another if/else statement that tests the value of a double variable named weight. If the value of weight is less than or equal to 5, set a double variable named shipppingBase to 4.95. If weight is greater than 5 and less than or equal to 10, set the shippingBase variable to 7.95. And if weight is greater than 10, set shippingBase to 10.95. If the value of shippingMethod is "FEDEX," set shippingBasse to 7.95. And if shippingMethhod is another value, set shippingBase to 9.95.
Would you help me?