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 ConsoleApplication1
- {
- class Program
- {
- static void Main(string[] args)
- {
- string[] buch = new string[5];
- for (int i = 0; i < 5; i++)
- {
- Console.WriteLine("Geben Sie einen Buchtitel ein!");
- buch[i] = Console.ReadLine();
- }
- Console.WriteLine("Ihre gewählten Buchtitel:");
- foreach (string x in buch)
- {
- Console.Write(x+", ");
- }
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement