C Program To Find Sum of All Odd Numbers from 1 To N, using While loop

preview_player
Показать описание

Lets write a C program to find sum of all the odd numbers from 1 to N, using while loop.

Odd Number: An odd number is an integer that is not exactly divisible by 2.

Example: 3 % 2 != 0. When we divide 3 by 2, it doesn't give a reminder of 0. So number 3 is odd number.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

I'm crying this is so helpful my guy.

justinchico