//My professor gave me a prompt of some code, however, he only gave me the beginning and the end and the output. The goal is to figure out the missing code that gives the output.
***PROMPT:
#include <iostream>
#include <iomanip>
using namespace std;
int main ()
{
int B = -5;
int A = -4;
double real = [ In this box fill out code that will compute real ratio of
B/A, which will become the value of variable real]
double imag = 0.66144;
// Fill out all required missing code lines that would cause the output below and uses real and imag variables in output.
// Just need an idea on how to start, please help I have no idea how to start, and my professor is not a good resource for questions as he is very traditional and mean. I've tried asking my friends and have no leads. Any help is great!!