Skip to content

Rathan23/day-3-coding-bootcamps-Rathan23

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Work in Repl.it

CodingBootcamps-Problem Solving Using C : Beginner level - Day 3 Hands-on Practice

This programs enhances problem solving skills using c for entry level students

Problem 1: Sum of Natural Numbers

You will be given a number 'N'. Your task is to calculate the sum of first N natural numbers(1 to N)
Example
input:
4
output:
10

Problem 2: Fibonacci Series

You will be given a positive integer 'n'. Your task is to print the first 'n' terms of the fibonacci series.
Example
input:
4
output:
0 1 1 2

Problem 3: Odd or Even

Check whether an integer is odd or even
Example
input:
5
output:
Odd

Problem 4: Print the given pattern

Your task here is to print half pyramid of stars.
Example
input:
3
output:
*
**
***

About

day-3-coding-bootcamps-Rathan23 created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%