Computer Science, asked by anujsinghjls1815, 5 months ago

Write a C++ statement to store the value 15 to the structure member real.

Answers

Answered by Kartikmhatre
2

Answer:

// Data Members

int roll;

int age;

int marks;

// Member Functions

void printDetails()

{

cout<<"Roll = "<<roll<<"\n";

cout<<"Age = "<<age<<"\n";

cout<<"Marks = "<<marks;

}

Plzz Mark Me As Brainliest...!!!!

Similar questions