Horje
intage1 was not declared in this scope C++ Code Example
intage1 was not declared in this scope C++
#include <iostream>
using namespace std;
int main ()
{
	intage1,intage2;
	intage1 = 18;
	intage2 = 15;
	int TotalAge;
	int AverageAge;
	cout << "Please enter the sge of student 1:";
	cin >> age1;
	cout << "Please enter the age of student 2:";
	cin >> age2;
	Totalage = age1 + age2;
	AverageAge = Totalage / 2;
	cout << "The averageage of the class:";
	<< AverageAge;
}




Cpp

Related
cplusplusbtutotrail Code Example cplusplusbtutotrail Code Example
idnefier endl in undefince Code Example idnefier endl in undefince Code Example
create new node in tree Code Example create new node in tree Code Example
c++ create an empty vector Code Example c++ create an empty vector Code Example
Configuring an c++ OpenCV project with Cmake Code Example Configuring an c++ OpenCV project with Cmake Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7