A
because if you leave certain metals in the rain they tarnish or rust. think about how if you leave a bike in the rain for too long it will start to rust on the metal parts
Answer:
The correct option for the given question is option(b) i.e 72 = amount;
Explanation:
In the option(a) the total variable store the value 9 which is a valid assignment
In the option(b) 72 is not a variable because the variable will never start with a numeric number. Therefore it is not a valid assignment statement.
In the option(c) the yourAge variable store the value of myAge variable which is a valid assignment.
So correct answer is an option(b).
Answer:
PROGRAMMING APPROACH:
- Define the necessary header file using namespace.
- Define the main() method.
- Declare variable inside the function().
- Print result.
Explanation:
Required C++ Code:
#include<iostream>
#include<string>
using namespace std;
int main()
{
string condStr;
int userVal;
cin>>userVal;
condStr=(userVal<0)?("negative"):("non-negative");
cout<<userVal<< " is "<< condStr <<"."<<endl;
}
OUTPUT:
-2
-2 is negative.
Answer:
Geostationary communication satellites are useful because they are visible from a large area of the earth's surface, extending 81° away in both latitude and longitude. They appear stationary in the sky, which eliminates the need for ground stations to have movable antennas.