Answer:
#include <iostream>
#include <string>
int main() {
std::string name;
std::cout << "Please enter a name: ";
std::cin >> name;
std::cout << "Hello " << name<<"!";
}
Explanation:
Asks for your name and adds Hello {name}!
Answer:
Logic Operators are used to combine Boolean Values.
Explanation:
Boolean values are logical values, to combine different logical values. The logical operations such as "or, and and not".
These logical operations are used to combine Boolean values.
A
step by step explaining: