Find at least four run-time errors in the following program.#include <iostream>using
Chapter 2, Problem R2.8(choose chapter or problem)
Find at least four run-time errors in the following program.#include using namespace std;int main(){ int total; int x1; cout << "Please enter a number:"; cin >> x1; total = total + x1; cout << "Please enter another number:"; int x2; cin >> x2; total = total + x1; double average = total / 2; cout << "The average of the two numbers is " << average << "endl"; return 0;}
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer