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
0
Answer:
include evergreen , coniferous , deciduous etc .
Answered by
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
Social Sciences,
4 months ago
Math,
4 months ago
Math,
9 months ago
Math,
9 months ago
Accountancy,
1 year ago
English,
1 year ago
Biology,
1 year ago