Diplodocus
New member
- Joined
- Sep 22, 2016
- Messages
- 4
- Points
- 0
Hey all,
How do I get the following output when I type in my address? See attached image.
I need to make a program where the user types in his or her address to achieve/obtain the output shown below on the attached image.
I know I have to use the Console.ReadLine function, but I don't know how to start or how to configure it.
This is what I have:
Console.WriteLine("Gelieve je adres in te geven:");
Console.WriteLine("Straat \t: \t Parkstraat 50");
Console.WriteLine("Postcode: \t 3000");
Console.WriteLine("Plaats \t: \t Leuven");
Console.WriteLine("Je adreskaart gegevens:");
Console.WriteLine("******************************************");
Console.WriteLine("*Straat \t: Parkstraat 50");
Console.WriteLine("*Postcode \t: 3000");
Console.WriteLine("*Plaats \t: Leuven");
Console.WriteLine("******************************************");
But I think I'm wrong; where and how do I use the ReadLine functions?
How do I get the following output when I type in my address? See attached image.
I need to make a program where the user types in his or her address to achieve/obtain the output shown below on the attached image.
I know I have to use the Console.ReadLine function, but I don't know how to start or how to configure it.
This is what I have:
Console.WriteLine("Gelieve je adres in te geven:");
Console.WriteLine("Straat \t: \t Parkstraat 50");
Console.WriteLine("Postcode: \t 3000");
Console.WriteLine("Plaats \t: \t Leuven");
Console.WriteLine("Je adreskaart gegevens:");
Console.WriteLine("******************************************");
Console.WriteLine("*Straat \t: Parkstraat 50");
Console.WriteLine("*Postcode \t: 3000");
Console.WriteLine("*Plaats \t: Leuven");
Console.WriteLine("******************************************");
But I think I'm wrong; where and how do I use the ReadLine functions?