Question: 1 Show the output of the following code: #include using namespace std; int main() { cout < < 3.5 * 4/2-2.5 = <
1 Show the output of the following code: #include using namespace std; int main() { cout < < "3.5 * 4/2-2.5 = " < < (3.5 * 4/2-2.5) < < endl; return 0; } 2. Show the output of the following code: #include using namespace std; int main() { } cout < < "C++" < < "Java" < < endl; cout < < "C++" < < endl < < "Java" < < endl; cout < < "C++, " < < "Java, " < < "and C#" < < endl; return 0;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
