C# Operator Example

example
In this chapter you will learn:

  • The main objective of this chapter is to explain you in details about how to use C# operators in a program.
Qu 1. Write a program to check whether input character is vowel or not.
Answer

Enter a character :     E

E is vowel
__




  • Qu 2. Calculate area of Rectangle
    Answer

    Enter height :   5
    Enter width :    6
    Area of Rectangle is 30
    __

    Summary

    In this chapter, you saw some programming examples of C# operators. In next chapter, there are some programming exercises are given. It is recommended you to do all the Exercises honestly.


    Leave a Reply

    Your email address will not be published. Required fields are marked *