Math, asked by rizwanmohiuddin3437, 11 months ago

Given a number n, calculate the prime numbers upto n using sieve of eratosthenes.

Answers

Answered by ItsCuteBoy
1

Answer:

The program output is also shown below. * C program to find the sum of 'N' natural numbers. int i, num, sum = 0; printf("Enter an integer number \n"); scanf ("%d", &num); for (i = 1; i <= num; i++) sum = sum + i; printf ("Sum of first %d natural numbers = %d\n", num, sum);

Answered by Anonymous
4

Answer:

Step-by-step explanation:

In the short story 'The Last Lesson' by Alphonse Daudet, the French teacher, M. Hamel, firstly blamed himself for neglect of learning on the part of boys like Franz. He did this because he used to send his students to water his plants and take holidays whenever he wanted to go fishing.

Høpe it's help you❤

Similar questions