Open study

is now brainly

With Brainly you can:

  • Get homework help from millions of students and moderators
  • Learn how to solve problems with step-by-step explanations
  • Share your knowledge and earn points by helping other students
  • Learn anywhere, anytime with the Brainly app!

A community for students.

can any one help me to write an algorithm for my program (c++) ?

Mathematics
I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.

Join Brainly to access

this expert answer

SEE EXPERT ANSWER

To see the expert answer you'll need to create a free account at Brainly

pls
This would be better in the Computer Science area, but I can try.
#include #include #include class student { char name [25]; char grade; float marks; public: void getdata(void); void display(void); }; void student :: getdata(void) { char ch; cin.get(ch); cout<<"Enter name : "; cin.getline(name,25); cout<<"Enter grade : "; cin>>grade; cout<<"Enter marks : "; cin>>marks; cout<<"\n"; } void student :: display(void) { cout<<"NAME : ";puts(name); cout<<"MARKS : "<

Not the answer you are looking for?

Search for more explanations.

Ask your own question

Other answers:

What exactly are you trying to write here?
i am using a file program to input and display 3 student details
And what's going wrong for you?
i want to write the algoritm for this program
As far as I can tell, the algorithm is correct, you just have some errors you need to fix. At least, as far as inputting the student details. I can't see any part that displays the details.
k
i'll check it out thanks
To display them, it should be almost the same, but you use the display function in the class instead of the getdata

Not the answer you are looking for?

Search for more explanations.

Ask your own question