Why is it showing runtime error? It Is working fine in my system as well as gfg ide. Please help!
Runtime error in code
hi @Paras-Kaushik-446920412565840 you can take input in a real sample manner as opposed to what you are doing right now.
The name will be a single word only so you can simply take input like
cin >> name
cin >> salary
Yes, it worked. Thanks
1 Like