Any information on a website should be findable within 3 mouse clicks.
The answer is commissioned
Answer:
userInput = input("Please enter a string of words ")
userInput.split ()
for item in userInput.split ():
if item =="darn":
print("Censored")
break
else:
print(userInput)
Explanation:
Using Python programming language, the input function is used to receive the users input and save in a variable userInput
Then the .split method is used to convert the words into a list of words.
Using a for loop, the code checks for the word darn and prints censored if it exists else it prints the userInput
Answer:
The four-step process of fetch, decode, execute, and store. Type of memory where the contents of this are not erased when the computer is turned off.
Answer:
void main(){
string name;
printf("Enter Name\n");
stdin("%s",&name);
Printf("\nGreetings %s",name);
}
Explanation:
Here scanf is represented by stdin and we are using that scanner object to read the string value from user.The value which we read are printed in a new line using printf .The format specifier %s in printf is replaced by name variable