pyet
pyet
CC#
Created by pyet on 3/8/2023 in #help
❔ Program that gives you a choice of several artists and then their songs
Hey guys! I really need help with this one. I want to write a program for selecting the music artist and his album title. I want a numbered list of three artists and the user selects one of them after that the program displays a list of three titles from which the user selects one. And finaly a message displayed, e.g. You have selected artist A and album title B. This is my code for now. I really need help to write this :(( Console.WriteLine("Wybierz wykonawcę od numeru 1 do 3 "); Console.WriteLine("1.The Cure "); Console.WriteLine("2.Lady Gaga "); Console.WriteLine("3.Nirvana "); int wykonawca = int.Parse(Console.ReadLine()); if (wykonawca == 1) ; { Console.WriteLine("Wybrałeś wykonawcę The Cure"); Console.WriteLine("Wybierz jeden utwór The Cure"); Console.WriteLine("Lovesong, Disintegration, Wish"); } Console.WriteLine("Wybierz wykonawcę od numeru 1 do 3 "); Console.WriteLine("1.The Cure "); Console.WriteLine("2.Lady Gaga "); Console.WriteLine("3.Nirvana "); int wykonawca = int.Parse(Console.ReadLine()); if (wykonawca == 2) ; // Console.WriteLine(Judas, Pokerface, ""Telephone"");
20 replies