80 likes | 210 Views
Logic Modeling. IT323 - Software Engineering 2 Tutorial. Q1.
E N D
Logic Modeling IT323 - Software Engineering 2 Tutorial
Q1 • Pizza Inn decides to give some offers; if a customer buys more than two Pizzas he/she will get 1Pepsi. If he/she buys more than Four Pizza he get extra 2 Pepsi. If a customer buys more than six Pizzas he/she gets an extra French Fries. Also, an additional discount of 3% for customers who buy more than four Pizzas in the afternoon is offered.
Q1 - Structured English If 4 > Pizza > 2 Get 1 Pepsi Else If Pizza >4 If afternoon Get 3 Pepsi + 3 % Else 3 Pepsi If Pizza > 6 French fries End if