Computer Science, asked by hharshini201, 2 months ago

3. Find the output:
#include<stdio.h>
int main()
{
int x=701,y,s=0,m,n,t,u;
y=x;
for(m=0.y!=0;y/=10)
{
u=y%9;
for(n=m,t=1;n>=0;n-)
{
t=t*9;
}
if(u<5)
{
U=U+3;
}
s=s*u+t;
}
printf("%d",s);
}
output???​

Answers

Answered by ruchikachopramehu
0

Answer:

Explanation:

ion

3. Find the output:

#include<stdio.h>

int main()

{

int x=701,y,s=0,m,n,t,u;

y=x;

for(m=0.y!=0;y/=10)

{

u=y%9;

for(n=m,t=1;n>=0;n-)

{

t=t*9;

}

if(u<5)

{

U=U+3;

}

s=s*u+t;

}

printf("%d",s);

}

output???​

Similar questions