Computer Science, asked by dmeenaji8477, 5 months ago

In the statement – for i in range(1,20,4) , the value of i will be-

1,5,9,13,17

1,5,9,13,17,20

1,3,5,7,9,11,13,15,17,19

1,4,9,13,17

20


Answers

Answered by skshabanabegum554
0

C For Loop [59 exercises with solution]

1. Write a program in C to display the first 10 natural numbers. Go to the editor

Expected Output :

1 2 3 4 5 6 7 8 9 10

Click me to see the solution

2. Write a C program to find the sum of first 10 natural numbers. Go to the editor

Expected Output :

The first 10 natural number is :

1 2 3 4 5 6 7 8 9 10

The Sum is : 55

Similar questions