Problem Statement - Collect student details to structure and update selectively
Write a program to collect follow entry about an student in a structure type c++ data structure.
integer – rollno, char array – name, float – marks and char passfail. Declare a global instance of this structure and then collect the rollno,name and marks in the main routine. Within the main routine update the value of passfail as ‘Y’ or ‘N’ if the marks are more than or equal to 33.0 . Finally it should report as per following example.
R.No. Name Marks Status
22 Vijay 45 Pass
sunmitra| Created: 18-Jan-2018 | Updated: 19-Feb-2019|