Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Omregning_af_grader
- {
- class Program
- {
- static void Main(string[] args)
- {
- int L, M, S,;
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.BackgroundColor = ConsoleColor.Black;
- //
- {
- Console.SetCursorPosition(40, 0);
- Console.WriteLine("Priser for Fest");
- Console.Write("Indtast venglist hvilken menu du kunne tænke dig her: ");
- int = Convert.ToInt32(Console.ReadLine());
- if (S)
- {
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("Prisen for en stor menu er 450");
- }
- if (S)
- {
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("Prisen for en mellem menu er 350");
- }
- else
- if (S)
- {
- Console.ForegroundColor = ConsoleColor.Green;
- Console.WriteLine("Prisen for en lille menu er 200");
- }
- Console.ForegroundColor = ConsoleColor.Blue;
- Console.Write("Indtast antal menuer du ønsker at købe: ");
- Console.WriteLine("Prisen for {0} menuer er {1} kr ,antal ,Pris")
- antalbilleter = Convert.ToInt32(Console.ReadLine());
- Console.ForegroundColor = ConsoleColor.DarkRed;
- Console.Write("Tryk på Enter for at afslutte...");
- Console.ReadLine();
- Console.ReadKey();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement