SarthakKeshari / CPP-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
46 stars 132 forks source link

Create Registration_system.cpp #477

Closed jainsanyam228 closed 2 years ago

jainsanyam228 commented 2 years ago

Choose your form and fill it -

1. Form 1(C++ Solution contributors)


1) Form 1

Issue Id you have worked upon -

476

Briefly explain your program logic -

In this que we simply create a map in c++ and for every string input we whether it appear it first time or not if the string appear first time we print OK otherwise we print string along with its frequency ;

Screenshots(Attach 2 screenshots of your own input and output) -

image


Checklist:

Eg - If your code follow the below guidelines. Kindly change [] to [x]

All the conditions should be fulfilled for considering your code for merging -


jainsanyam228 commented 2 years ago

@SarthakKeshari Done sir