0

Why is it error? Help me, please

#include <iostream> using namespace std; int main() { int main num1, num2, num3, num4, num5; cout << "enter number 1: "; cin >> num1; cout << "enter number 2: "; cin >> num2; cout << "enter number 3: "; cin >> num3; cout << "enter number 4: "; cin >> num4; cout << "enter number 5: "; cin >> num5; cout << num1 + num2 + num3 + num4 + num5; return 0; }

29th Sep 2022, 2:02 AM
Leo
1 Antwort
+ 1
No "main": int num1, num2, num3, num4, num5; Specify the language tag in the question.
29th Sep 2022, 2:14 AM
Solo
Solo - avatar