CP Lab – Experiment 12


Aim:  Demonstrate decision control structure using if-else-if ladder and switch statement

Objectives:  Learn, Understand and Demonstrate decision control statement.

Hardware requirements: Any CPU with Pentium Processor or similar, 256 MB RAM or more, 1 GB Hard Disk or more.

Software requirements:  Windows 64 bit Operating System, compatible gcc compiler, Netbeans 8.0 or later, jdk 1.6 or later, TurboC compiler



Exercise: Write a program in C to

  1. Read percentage of student & Display the Equivalent Description using if-else-if statement
  2. Check Whether given Character is Vowel or Consonant using switch statement
  3. Enter a number and display name of month


R. No Name of Student Date of Performance Date of Evaluation Grade Sign of student Sign of Faculty

Leave a Reply

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