Answer:
using namespace std;
int main() {
int number;
while (1) {
cout << "Enter a number: ";
cin >> number;
cout << number << " is " << ((number % 2) ? "odd" : "even") << endl;
};
return 0;
}
Explanation:
This is a c++ version. Let me know if you need other languages.
The (number % 2) is the essence of the program. It returns 0 for even numbers, and 1 for odd numbers (the remainder after division by 2).
Yes it is because B$4<span> instructs Excel to keep the </span>cell reference<span> B4 (absolute). assumptions </span>
Answer:
The function of an input device is to communicate information to a computer or other sort of information processing equipment. Input devices are types of peripheral devices that communicate with processing units.