Created
October 19, 2024 20:01
-
-
Save ahmetcanisik/9dfb18d9eb4c37198d7baf4194438fb2 to your computer and use it in GitHub Desktop.
Kullanıcıdan alınan değeri iki defa ekrana yazdıran programın kodları
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class Algoritma | |
{ | |
private static string input(string message = "") { | |
Console.Write(message); | |
return Console.ReadLine(); | |
} | |
public static void Main(string[] args) | |
{ | |
// kav = kullanıcıdan alınan veri | |
string kav = input("Herhangi bir metin giriniz: "); | |
for (int i = 0; i < 2; i++) { | |
Console.WriteLine(kav); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment