Professional Documents
Culture Documents
EDP Exercise 2
EDP Exercise 2
Exercise 2
Source Code:
//Exercise 2.
// Program will ask for the full name
// Print the value of the entered name
// Print the value of the entered name reverse
// Use ARRAY not a function
// Can be done in either Windows Forms or Console Program (+ 5 for windows forms)
{
string value = txtReverseName.Text;
int wordLength = value.Length - 1;
string reversedWord = "";
string message = "";
Output: