one node satisfying the requirement, delete the first of them. The expected output in the file
(B,9,2) (D,12,6) (E,9,4) (R,12,7)
(B,9,2) (E,9,4) (R,12,7)
void f4() - How many Phones are there in the list satisfying price>5? The expected output in the file f4.txt should be as follows:(H,1,3) (1,3,7) (J,4,5) (K,5,6)
2
void f5() - Delete the first node, then sort the elements descending by weight (assuming that all weights are different). The expected output in the file f5.txt should be the following:(N,6,1)-(A,9,3) (W,5,2) (S,7,5) (C,1,1)
(A,9,3) (S,7,5) (W,5,2) (C,1,1)
Zoom
100%
Close