Write a c++ program to find the sum of 0.123 * 1000 and 0.456 * 100 and write the result in three significant digits.
#include <iostream>
using namespace std;
int main()
{
double a=0.123 * 1000;
double b=0.456 * 100;
double c=a+b;
cout << "c= " <<c<< endl;
return 0;
}