Answer:
the mistake is in the first statement.
Explanation:
Now lets us put the statement into consideration:
"The sum of any two rational numbers is irrational"
The negation is: " there exists a pair of rational numbers whose sum is irrational". (Existence of at least one of such a pair).
The negation is not "the sum of any two rational numbers is irrational"
Therefore the mistake is in the first statement and it is due to incorrect negation of the proof.
Answer:
This question required option (See Explanation)
Explanation:
Required
How to declare 2D array
Using Java as a programming language of reference, the syntax to declare a 2D array is:
Data-Type [][] Array-Name = new Data-Type[Rows][Column]
From the question, the data type is String. So, the syntax becomes
String [][] Array-Name = new String[Rows][Column]
Assume the array name is: myArray; The above becomes
String [][] myArray= new String[Rows][Column]
<em>I will not assume values for Rows and Column, but it is worth saying that Rows and Columns are positive integers greater than 1 to make the array a 2 D array</em>
It makes me think personally that the internet kills you not just people but things that’s put out
Answer:
Check the explanation
Explanation:
print("************************************************************")
sentence = input("Enter a sentence : ").split()
replace_words = input("\nEnter the words that should be replaced : ").split()
special = input("\nEnter the replacing special Character : ")
result = []
for word in sentence:
if word not in replace_words:
result.append(word)
else:
result.append(special * len(word))
result = ' '.join(result)
print("\nThe Sentence with words censored is : " + result)
print("************************************************************")