Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace asd
- {
- class Program
- {
- static void Main(string[] args)
- {
- string typeSushi = Console.ReadLine();
- string restourantName = Console.ReadLine();
- int numberOfPurchases = int.Parse(Console.ReadLine());
- string purchase = Console.ReadLine();
- double price = 0.0;
- double addedPrice = 0.0;
- if (restourantName == "Sushi Zone" && restourantName == "Sushi Time" && restourantName == "Sushi Bar" && restourantName == "Asian Pub")
- {
- if (typeSushi == "sashimi")
- {
- price = 4.99;
- }
- else if (typeSushi == "maki")
- {
- price = 5.29;
- }
- else if (typeSushi == "uramaki")
- {
- price = 5.99;
- }
- else if (typeSushi == "temaki")
- {
- price = 4.29;
- }
- if (typeSushi == "sashimi")
- {
- price = 5.49;
- }
- else if (typeSushi == "maki")
- {
- price = 4.69;
- }
- else if (typeSushi == "uramaki")
- {
- price = 4.49;
- }
- else if (typeSushi == "temaki")
- {
- price = 4.29;
- }
- if (typeSushi == "sashimi")
- {
- price = 5.25;
- }
- else if (typeSushi == "maki")
- {
- price = 5.55;
- }
- else if (typeSushi == "uramaki")
- {
- price = 6.25;
- }
- else if (typeSushi == "temaki")
- {
- price = 4.75;
- }
- if (typeSushi == "sashimi")
- {
- price = 4.50;
- }
- else if (typeSushi == "maki")
- {
- price = 4.80;
- }
- else if (typeSushi == "uramaki")
- {
- price = 5.50;
- }
- else if (typeSushi == "temaki")
- {
- price = 5.50;
- }
- }
- double totalPrice = price * numberOfPurchases;
- if ()
- {
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement