int c=0;
for(int i=0; i<=n; i++)
{
int num=i;
int sum=0;
while (num != 0)
{
int r = num % 10;
sum = sum + r;
num = num / 10;
}
if (sum%2 == 0)
c++;
}
return c;
Java
Sherlock code
Telegram:
https://t.me/Coding_solution_0
for(int i=0; i<=n; i++)
{
int num=i;
int sum=0;
while (num != 0)
{
int r = num % 10;
sum = sum + r;
num = num / 10;
}
if (sum%2 == 0)
c++;
}
return c;
Java
Sherlock code
Telegram:
https://t.me/Coding_solution_0
πππFREE FREE FREE πππ
β¦οΈβ¦οΈ Next IRA will be live in this channel on 3rd January for free β¦οΈβ¦οΈ
https://t.me/Coding_solution_0
β β JAVA / PYTHON β β β
Get solution 5 min prior then other groups premium plan limited seats available.
@saviour_01
π°π°
β¦οΈβ¦οΈ Next IRA will be live in this channel on 3rd January for free β¦οΈβ¦οΈ
https://t.me/Coding_solution_0
β β JAVA / PYTHON β β β
@saviour_01
π°π°
Forwarded from Coding Solutions Group
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from Off Campus job Updates- Placement Material
Zoho Placement Paper (1).pdf
454.2 KB
Get Our Premium Plan ZOHO EXAM 100% clearance gaurantee ping here
@saviour_01
@saviour_01