Answer:
1) A string is "non-numeric data". In other words, it is text.
2) False, a runtime error means that there is a problem, but it will be with the software, not the hardware.
3) An impossible task such as dividing five by zero is a logical error. Not using quotes on a string would be a syntax error, printing an inaccurate statement is not an error at all (as far as the program is concerned anyway), and using camelcase on a variable with multiple words is a common convention.
4) variableName = "value"
5) The code provided here is illegible, so I can't give a straight answer. It seems to be missing operators.
Answer:
You're right hand or Left too
Explanation:
Because some people can hold some stuff on there hands
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// function to compute sum and product
void square(int input)
{
// variable to store the square of number
long long squ_num;
calculate the square of number
squ_num=pow(input,2);
// print the output
cout<<"square of "<< input<<" is: "<<squ_num<<endl;
}
// driver function
int main()
{
int n;
// read the number until user enter 0
do{
cout<<"enter a number!! (0 to stop):";
// read the input from user
cin>>n;
// call the function to calculate square of input number
square(n);
}while(n!=0);
return 0;
}
Explanation:
Declare a variable "n" to read the input number from user.Call the function square() with parameter "n".In this function, it will calculate the square of the input number and print it.This will repeat until user enter 0 as input.Program will ends when user give 0 as input.
Output:
enter a number!! (0 to stop):5
square of 5 is: 25
enter a number!! (0 to stop):7
square of 7 is: 49
enter a number!! (0 to stop):11
square of 11 is: 121
enter a number!! (0 to stop):0
#include <iostream>
#include <vector>
#define NUM_GUESSES 3
int main()
{
std::vector<int> userGuesses;
for (int i = 0, input; i < NUM_GUESSES; i++)
{
std::cin >> input;
userGuesses.push_back(input);
}
}
Answer:ENTER
Explanation: Hyperlink is the situation that states that the document belongs to some other location. So, if the enter key is pressed by the user after the typing of any email address , then it marks it as the hyperlink which shows it belongs to some other file.
Hyperlink actions also occurs when the user presses space-bar and the web address gets marked by the change in color or by underlined function.