8th Jan 2021, 3:11 AM
Ira Sarkar
Ira Sarkar - avatar
10 Réponses
+ 3
× is invalid, and usually not supported by programming languages. Use *, it is much more likely to work for whatever language. same goes for / instead of ÷ ** instead of ^ you got the idea
8th Jan 2021, 3:14 AM
Qwerty Uiop
Qwerty Uiop - avatar
+ 1
8th Jan 2021, 3:18 AM
Ira Sarkar
Ira Sarkar - avatar
8th Jan 2021, 3:20 AM
Bibek Oli
Bibek Oli - avatar
+ 1
Ira Sarkar It's asked to enter his basic salary and calculate dearness & rent allowance and on that salary and finally calculate the gross salary which his basic salary + those 2 allowance. That code fits the requirement of your question.
8th Jan 2021, 3:24 AM
Bibek Oli
Bibek Oli - avatar
0
Qwerty Uiop oh yes, thank you so much.
8th Jan 2021, 3:15 AM
Ira Sarkar
Ira Sarkar - avatar
0
Qwerty Uiop still I am not getting output.
8th Jan 2021, 3:16 AM
Ira Sarkar
Ira Sarkar - avatar
0
Bibek Oli actually we have to calculate his salary, we can't give that as an input😅
8th Jan 2021, 3:23 AM
Ira Sarkar
Ira Sarkar - avatar
0
Bibek Oli but thank you for the effort.
8th Jan 2021, 3:23 AM
Ira Sarkar
Ira Sarkar - avatar
0
Bibek Oli oh yes actually, sorry sorry and thank you.
8th Jan 2021, 3:30 AM
Ira Sarkar
Ira Sarkar - avatar