Page 632 - Computer science 868 Class 12
P. 632
59 ob.add(a);
60 break;
61 case 2:
62 System.out.println("Deleting"+ ob.del());
63 break;
64 case 3:
65 ob.display();
default:
66 break;
before default
67 System.out.println("Exit");
68 }
69 }
70 while(ch>=1&&ch<=3);
71 }
72 }
Output of the preceding program is as follows:
Enter choice
1
Enter marks
22
Enter choice
1
Enter marks
67
Enter choice
1
Enter marks
56
Enter marks
87
Circular queue fall
Enter choice
3
22
67
630630 Touchpad Computer Science-XII

