// Soln2_4.cpp #include using std::cout; using std::endl; int main() { int width = 1280; int height = 1024; // double aspect = width / height; double aspect = static_cast(width) / height; cout << "The aspect ratio is " << aspect; cout << endl; return 0; }