public static void Main()
int no=int.Parse(Console.ReadLine());
char f = Console.ReadLine()[0];
char d = Console.ReadLine()[0];
int t=UserProgramCode.calculateCost(no,f,d);
Console.WriteLine("Invalid type of flower");
Console.WriteLine("Too low cost");
Console.WriteLine("Invalid decoration type");
public class UserProgramCode
public static int calculateCost(int cost, char ftype,char dtype)
total =15000 + (cost * 400);
total = 15000 + (cost * 700);
total = 25000 + (cost * 400);
total = 25000 + (cost * 700);