Create a procedure or function to calculate electricity bill as per the following criteria: For first 100 units: Rs. 5 per unit For 101-150 units: Rs. 7 per unit For 151-300 units: Rs. 7.50 per unit For 301 onward units: Rs. 8 per unit
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
CREATE OR REPLACE PROCEDURE E_bill(unit in number,net out number) is
BEGIN
–drop procedure E_bill
–for first 100 unit :RS 5 per unit
if (unit between 0 and 100) then . . . . . . . .
TAP ON ATTACHMENT BUTTON FOR ANSWER: