Run ❯
×
Change Orientation
Change Theme, Dark/Light
#include
int main() { // Student data int studentID = 15; int studentAge = 23; float studentFee = 75.25; char studentGrade = 'B'; // Print variables printf("Student id: %d\n", studentID); printf("Student age: %d\n", studentAge); printf("Student fee: %f\n", studentFee); printf("Student grade: %c", studentGrade); return 0; }
Student id: 15
Student age: 23
Student fee: 75.250000
Student grade: B