Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
using namespace std; int main() { // Student data int studentID = 15; int studentAge = 23; float studentFee = 75.25; char studentGrade = 'B'; // Print variables using cout cout << "Student ID: " << studentID << "\n"; cout << "Student Age: " << studentAge << "\n"; cout << "Student Fee: " << studentFee << "\n"; cout << "Student Grade: " << studentGrade << "\n"; return 0; }
Student ID: 15
Student Age: 23
Student Fee: 75.25
Student Grade: B