Please help me with this assignment.
howcan we wirite.
Thanks in advance.
Post your data in a data step, and examples for the expected results, and the code you already tried.
If it's given to you as a part of a training, the training facility should be your first stop for guidance,
@srinivas6640, please post your data in another format (I am not able to see it) or preferibly in the form of a data step.