Answer:
to send an email to someone without revealing that person’s email address to others on the distribution list
Explanation:
BAM
Answer:
- #include <iostream>
- using namespace std;
- int main()
- {
- int highest = 0;
- int score;
- do{
- cout<<"Input a score: ";
- cin>>score;
-
- if(score > highest){
- highest = score;
- }
- }while(score >= 0);
-
- cout<<highest;
- return 0;
- }
Explanation:
Firstly, create a variable highest and initialize it with zero (Line 5). Next, create a do while loop (Line 7 - 14). Within the loop prompt user to input a score (Line 8-9) and if the current score is higher than the highest variable, assign the score to highest variable (Line 11 - 13).
After finishing the loop when user put in any negative value, the program shall be able to print out the highest input score (Line 16).
This is kind of in opinion , i think it is true as people could be on the internet to kidnap or hurt others. It depends on what you think
Answer:
The program to this question as follows:
Program:
def lettersOnly(s): #defining method lettersOnly
val="" #defining string variable that return value
for i in s: #defining loop to calculate value
if(i.isalpha()): #check condition that value is string
val=val+ i #add value
return val #return value
print(lettersOnly("data3base_ro1c3k5s")) #call method and print value
Output:
databaserocks
Explanation:
In the above python code, a method lettersOnly is declared that accepts a string variable "s" in its parameter. Inside the method, a string variable "val", and loop is declared, in which the "val" variable holds method return value.
- In the loop and if block is used that uses "isalpha" string method, which checks the check alphabetic character in the given value. if this is true it will calculate all value in "val" variable and return its value.
- At the last, the print method is used, which calls the lettersOnly method and prints its return value.