Computer Science, asked by hargunkaur780, 7 months ago

Rewrite the following code fragments using for loop .
while num>0:
Print ( num % 10 )
num =num/ 10

Answers

Answered by gyadav30122000
0

Explanation:

When it comes to natural light, I am convinced that the best pictures taken are either at around 9 o‘clock in the morning or around the golden hour when the sun sets. Both of these times, even though in a different way, bring the most out the colours, you can go for a warm picture with honey and sunny colours in the evening, or for colourful and „fresh“ pictures in the morning. Or shortly said, morning- colourful pictures, evening- sunny pictures, flash- darker and „blender“.

int g (int x, int y) {

switch(x - y) {

case 0:

return x;

case 4:

y = y + 1;

break;

case 7:

x = x - 1;

case 9:

return x*y;

case 3:

y = x + 9;

default:

return y - x;

}

return y;

}

what does g(9,5) evaluate to

.......

Similar questions