Computer Science, asked by wahmed17880, 4 hours ago

Write a program to take the name as input from user and assign different comment to against each user. Use a loop to repeat the above process.


e.g. if user enters a name “XYZ”, you can compare if (name==”XYZ”) // Hello ! How are you // or Have a nice day elseif (name==”ABC”) // Nice to meet you etc. Can anyone help me with this ? It should be in c++​

Answers

Answered by Anonymous
0

Answer:

Explanation:

Write a program to take the name as input from user and assign different comment to against each user. Use a loop to repeat the above process.

e.g. if user enters a name “XYZ”, you can compare if (name==”XYZ”) // Hello ! How are you // or Have a nice day elseif (name==”ABC”) // Nice to meet you etc. Can anyone help me with this ? It should be in c++​

Similar questions