Skip to content

imDarshanGK/Conditional-statements

Repository files navigation

Check days:

Enter a day:2
Tuesday

Choose your branch

Welcome to SIET College
1}ECE
2}EEE
3}CSE
4}ISE
5}AI&DS
Choose your branch:3
You selected CSE

Welcome to SIET College
1}ECE
2}EEE
3}CSE
4}ISE
5}AI&DS
Choose your branch:2
You selected EEE

If Statement

Enter your age:15
Your age is 15
User

Enter your age:22
Your age is 22
Eligible to vote
User

How many days in month

Enter the month:6
30 days

Enter the month:3
31 days

Enter the month:31
Invalid Month

single chracter

Enter single chracter:a
Lower case alphabet

Enter single chracter:C
Upper case alphabet

Enter single chracter:5
Digit

Enter single chracter:$
Special Character

Single alphabet or Vowel

single alphabet

Example 1:

Enter single alphabet: I
Upper case vowel

Example 2:

Enter single alphabet: a
Lower case vowel

Example 3:

Enter single alphabet: c
Consonant

Finding fibonaccing term using recursive function

Fibonacci

output:

 result= 3