Implement the following:Given:food1 = "Salad"food2 = "Sandwich"price1 = 3.6price2 = 4.99
Print twof-string statements to display the following according to the rules below:1) Food prefixed with "Lunch:"2) Price prefixed with "Cost: $"3) Food always has25 characters of space.4) Price is always displayed withtwo decimal places.
Just make sure to precisely match the outputformat below.Write your code in theANSWER area provided below (must includecomments if using code is not covered in the course).Example OutputLunch: Salad Cost: $3.60Lunch: Sandwich Cost: $4.99
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here