Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Problem: rstring
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here String str, revstr = ""; int len; Console.WriteLine("Enter a string : "); str = Console.ReadLine(); len = str.Length -1; while (len >= 0) { revstr = revstr + str[len]; len--; } Console.WriteLine(revstr); Console.ReadKey(); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
dsfsfsdf
Uri Parts
iMacPro
SHA加密
problem
Funzpoint
give coins
Concurrent bag ex
first index of a substring in a given string
الحاسوب
Please log in to post a comment.