Computer Science, asked by 10agauravkumarsharma, 23 days ago

Convert to for loop
num=8359;
Int l =num%10;
Int n=num, f;
while(n>0)
{
f=n%10;
n=n%10;
}
if(f==l)
stop(num);​

Answers

Answered by Sathwik077
0

Answer:

for(int n=8359;n>0;n=n%10)

f=n%10

Similar questions