Answers for "#include <iostream> using namespace std; int main() { int a = 3; float b = 4.5; double c = 5.25; double sum; sum = a + b + c; cout << "The sum of a, b, and c is", sum << endl; return 0; }"

C++
0

#include <iostream> using namespace std; int main() { int a = 3; float b = 4.5; double c = 5.25; double sum; sum = a + b + c; cout << "The sum of a, b, and c is", sum << endl; return 0; }

#include <iostream>
using namespace std;

int main() {
  int a = 3;
  float b = 4.5;
  double c = 5.25;
  double sum;

  sum = a + b + c;

  cout << "The sum of a, b, and c is", sum << endl;
  return 0;
}
Posted by: Guest on December-23-2019

Code answers related to "#include <iostream> using namespace std; int main() { int a = 3; float b = 4.5; double c = 5.25; double sum; sum = a + b + c; cout << "The sum of a, b, and c is", sum << endl; return 0; }"

Browse Popular Code Answers by Language