would this be right?
Code:
#include<iostream>
using namespace std;
int main(void)
{
double roomSize = 0.0;
double students = 0.0;
cout << "please enter room size " << endl;
cin >> roomSize;
cout << " please enter number of students " << endl;
cin << students;
availseats = (roomSize - students);
cout << "the number of availseats are: " << availseats << endl;
system("pause");
return 0;