Friday, May 3, 2019

Pointers 6

  • Problem Description

    Write a program to input a character and Categorize it as a vowel and consonant

    Input and Output Format:

    Refer sample input and output for formatting specification.

    All float values are displayed correct to 2 decimal places.

    All text in bold corresponds to input and the rest corresponds to output.

  • Test Case 1

    Input (stdin)
    e

    Expected Output
    vowel
  • Test Case 2

    Input (stdin)
    b

    Expected Output
    consonant
Solution














No comments:

Post a Comment

Parity

Problem Description Ram and Sita playing the parity game. Two types of parity are there. One is odd parity and next is even parity. Ram will...