What will the following programs print on the screen A) #include using namespace std;
Chapter 2, Problem 8(choose chapter or problem)
What will the following programs print on the screen? A) #include using namespace std; int main() { int freeze = 32, boil = 212; freeze = 0; boil = 100; cout << freeze << endl << boil << endl; return 0; } B) #include using namespace std; int main() { int x = 0, y = 2; x = y * 4; cout << x << endl << y << endl; return 0; } C) #include using namespace std; int main() { cout << "I am the incredible"; cout << "computing\nmachine"; cout << "\nand I will\namaze\n"; cout << "you."; return 0; } D) #include using namespace std; int main() { cout << "Be careful\n"; cout << "This might/n be a trick "; cout << "question\n"; return 0; }E) #include using namespace std; int main() { int a, x = 23; a = x % 2; cout << x << endl << a << endl; return 0; }
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer