Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Text;
- namespace ConsoleApplication5
- {
- class Program
- {
- static void Main(string[] args)
- {
- int Days = Convert.ToInt32(Console.ReadLine());
- int Candymen = Convert.ToInt32(Console.ReadLine());
- int Cakes = Convert.ToInt32(Console.ReadLine());
- int Gofretas = Convert.ToInt32(Console.ReadLine());
- int pancakes = Convert.ToInt32(Console.ReadLine());
- //------------------------------
- double Cake_Price = 45.00;
- double Gofrettes_Price = 5.80;
- double pancakes_Price = 3.20;
- //------------------------------
- double Sum_For_Campaign = (((Cakes * Cake_Price) + (Gofretas * Gofrettes_Price) + (pancakes * pancakes_Price)) * 8.00) * 23;
- // double Sum_After_Expenses = Sum_For_Campaign - (Sum_For_Campaign * 1/8);
- Console.WriteLine(Convert.ToString(Sum_For_Campaign - (Sum_For_Campaign * 1/8)));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement