1. Course
  2. Functions B
  3. Function to modify a character of a text

Function to modify a character of a text


Last updated: 8/23/2020 Difficulty: Intermediate

Create a C# program that implements a function called ChangeLetter that receives as a parameter a text, a position (based on 0) and a letter requested from the user. You must modify the character of the text and display the new text on the screen.

Input

Card
3
 

Output

Car

Solution

Functions B

1 / 6

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Advertising