The way this snipet of code is written, the total gets trunc…
The way this snipet of code is written, the total gets truncated (which means the decimal places are cut-off) int sum = 100; int num = 3; double total = sum/num; //Correct this statement so total is not truncated. cout