Back to Browse

C programming Bangla - 43 Print even and odd using for loop * TechBangla C Programming Tips *

88 views
Sep 29, 2019
3:29

Title: Print even and odd using for loop In computer programming, a loop is a sequence of instruction s that is continually repeated until a certain condition is reached. Typically, a certain process is done, such as getting an item of data and changing it, and then some condition is checked such as whether a counter has reached a prescribed number. This video is about sum of 1 to n using while loop. We take a loop start from 1 and end in n and store the in a variable in sum. Mahmudul Hasan Moon B. Sc in CSE Hajee Mohammad Danesh Science and Technology University, Dinajpur Playlist:https://www.youtube.com/playlist?list... Channel Link: https://www.youtube.com/channel/UCoZv.... Website : http://www.techbangla365.com Page-link : https://www.facebook.com/tb365 LinkedIn: https://www.linkedin.com/in/mahmudul-... Github: https://github.com/Mahmudul-Hasan-Moon ******************************************************************** The positive numbers 1, 2, 3... are known as natural numbers and its sum is the result of all numbers starting from 1 to the given number. For n, the sum of natural numbers is: 1 + 2 + 3 + ... + n. Example 1: Sum of Natural Numbers using for loop.

Download

0 formats

No download links available.

C programming Bangla - 43 Print even and odd using for loop * TechBangla C Programming Tips * | NatokHD