I have started to create a word scrambler that allows a user to input a string and then select a target letter that will be replaced with a letter of their choice, however so far this is all i have and i do not know where to go from here can anyone help?
i have attached my code to this post
Code:
#include <stdio.h> //Alows input/output operations
#include <stdlib.h> //Standard utility operations
int main(int argc, char *argv[]) //Main method
{
printf("----------------------------\n");
printf("| WELCOME TO THE SCRAMBLER |\n");
printf("----------------------------\n\n");
char userString[50]; //Declaring the user string
printf("Please input a String :> "); //Iforms the user to enter a string
scanf("%s", userString); //Allows the user to enter in a string
char targetLetter[2]; //Declaring the target letter
char replaceLetter[2]; //Declaring the replace letter
while(1)
{
}
}