please give me output of this question no 35
Iske answer me if else if use kiya he kya ye sahi he use karna Because hume to E and U dono print karana hai but if else if me to koi ek hi print hoga, please answer. Thanks
Attachments:
2Aryab11:
koi to answer kardo
Answers
Answered by
0
the output will be e:4
Answered by
1
Do variables lo ( dono variables if else if ke bahar hoga ) ek lo 'eCount' or ek lo 'uCount' if else if me dekho ki character e hai ya fir character u hai agar e hai to fir eCount=eCount +1 hoga agar character u hai to fir uCount =uCount+1 hoga.
I am not good at hindi and c++ because icse(in which board i read) follows java but i have a small idea about c++.
I am not good at hindi and c++ because icse(in which board i read) follows java but i have a small idea about c++.
Similar questions