|
|
| |||||||
![]() |
| | Seçenekler |
|
#1
| ||||
| | ||||
c# String Cogaltmausing System; using System.Collections.Generic; using System.Text; namespace strcogalt { class Program { public static string cogalt(string m, int n) { string ad2=""; for (int i = 0; i < n; i++) ad2=ad2+m; return ad2; } static void Main(string[] args) { string ad,ad2=""; int adet; Console.Write("Bir İsim Giriniz :"); ad = Console.ReadLine(); Console.Write("Kaç Adet Yazılsın :"); adet = Convert.ToInt16(Console.ReadLine()); ad2 = cogalt(ad, adet); Console.WriteLine(ad2); Console.ReadLine(); } } } |
![]() |
| Seçenekler | |
| |
Benzer Konular | ||||
| Konu | Konu Açanlar | Forum | Cevaplar | Güncel Mesajlar |
| String Fonksiyonlari | B737 | Visual Basic & Action script | 0 | 24-01-2008 02:44 |
| ASP.NET'de String İşlemleri | B737 | .NET programcılığı | 0 | 24-01-2008 01:53 |
| XOR ile String şifreleme. | Celebrian | Visual Basic & Action script | 0 | 24-12-2007 11:46 |
| String işlemleri | egitimbilgisi | Programlama Makaleleri | 0 | 26-11-2007 01:29 |
| Delphide String Fonksiyonları | Professionel | Delphi | 0 | 22-11-2007 08:27 |