Answer:
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are empty</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNT</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNTb. COUNTA</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNTb. COUNTAc. COUNTBLANK</em>
<em>Which function would you use if you wanted to count the number of values, but ignore the cells that have text or are emptya COUNTb. COUNTAc. COUNTBLANKd. COUNTVALUES</em>
Answer:
The solution code is written in Python:
- sec = int(input("Enter number of seconds: "))
-
- if(sec >=60):
- min = sec // 60
- sec = sec % 60
- else:
- min = 0
-
- print(str(min) + " minutes " + str(sec) + " seconds")
Explanation:
Firstly, use input function to prompt user to enter number of seconds and assign the input value to variable sec (Line 1).
Next, create an if statement to check if the sec is bigger or equal to 60 (Line 3). If so, we user // operator to get minutes and use % operator to get the seconds (Line 4 - 5).
Then we use print function to print the minutes and seconds (Line 9).
Answer:
The code is given below. Follow the question and the code definitions for better understanding.
Explanation:
#include<iostream>
#include<string>
using namespace std;
int main(){
string pastWord="";
string currentWord,nextWord;
int n,t;
int singleton=0;
int consecutive=0;
cout<<"Enter words. ('xxxxx' to exit):\n";
cin>>nextWord;
do{
currentWord=nextWord;
cin>>nextWord;
if ( (currentWord!=pastWord)&&(currentWord!=nextWord) )
singleton++;
else if((currentWord==pastWord)&&(currentWord!=nextWord))
consecutive++;
pastWord=currentWord;
}while(nextWord!="xxxxx");
n=singleton;
t=consecutive;
cout<<"There were "<<n<<" singletons and "<<t<<" consecutive repetitions.";
cin.get();
return 0;
}
Answer:
Following are the expression in the Java language
public class Main
{
public static void main(String[] args) // Main method
{
boolean young= true; // variable declaration
boolean famous= true;// variable declaration
if(young && famous) // check the condition
System.out.println("You must be rich " );// display message
}
}
Output:
You must be rich
Explanation:
Following are the description of the above statement
- Declared a variable "young " of the boolean type that is initialized with the "true" value.
- Declared a variable "famous " of the boolean type that is initialized with the "true" value.
- Check the condition of if() block.If the condition is true then it executed the condition inside the if block.
- Finally ,print the message "You must be rich!"
Answer:
Selective availability was deleted
Explanation:
The selective availability was deleted in the year 2000, 2 may, this happens because the GPS was implemented in military uses, and the United States government chose to intentionally degrade the signal emitted by satellites, for their own security, in this way their enemies his enemies were not going to use his technology against him.