Computer Science, asked by marvel1234, 6 months ago

develop a programm to create a class student with data member student name roll no and branch initialize display values of data member

Answers

Answered by deepikathar04
0

Answer:

include evergreen , coniferous , deciduous etc .

Answered by akshattripathi44
0

Answer:

Ok bro here your anwer

Explanation:

#include <iostream>

using namespace std;

struct student

{

char name[50];

int roll;

float marks;

};

int main()

{

student s;

cout << "Enter information," << endl;

cout << "Enter name: ";

cin >> s.name;

cout << "Enter roll number: ";

cin >> s.roll;

cout << "Enter marks: ";

cin >> s.marks;

cout << "\nDisplaying Information," << endl;

cout << "Name: " << s.name << endl;

cout << "Roll: " << s.roll << endl;

cout << "Marks: " << s.marks << endl;

return 0;

..

Take bro in computer you have to do like this plz mark as branlist answer ❤️❤️❤️

Similar questions