Trouble with multiple prompts in C++ – Ubuntu
How do I rewrite the following code such that each output has it's own prompt (see desired outcome) - g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0 #include <iostream> #include <string> using std::cin; using std::cout; using std::string; int main() { cout << "Enter a…