You are on page 1of 3

Name: - Prabhjot Kaur Sohi Student ID: - c0696338

Class Practice#4

1. Create a program that uses the conditional operator to give a

Boolean variable named "both Even" the value "true" if two numbers
entered by the user are the even, or "false" if any of them is odd.
2. Create a program to ask the user for a symbol and answer if it is a
(lowercase) vowel, a digit, or any other symbol, using "if".

3. Write a C# Sharp program to find HCF (Highest Common Factor) of two

4. Write a C sharp Program to find Fibonacci Series

5. Write a program that calculate add, subtract, multiply and division.

Accept two number from the users and then using appropriate function
calculate them and shows output to the user.