---
title: "What is a program to count vowels in input 200 characters in the C language?"  
description: "What is a program to count vowels in input 200 characters in the C language?"  
author: "Mukul Goenka"  
published: 2021-11-09  
updated: 2021-11-09  
canonical: https://www.mindstick.com/forum/156812/what-is-a-program-to-count-vowels-in-input-200-characters-in-the-c-language  
category: "java"  
tags: ["java", "programming language"]  
reading_time: 1 minute  

---

# What is a program to count vowels in input 200 characters in the C language?

What is a [program to count](https://www.mindstick.com/forum/158765/write-a-python-program-to-count-the-number-of-vowels-in-a-given-string) vowels in [input](https://www.mindstick.com/forum/159209/how-can-i-read-convert-an-input-stream-into-a-string-in-java) 200 [characters](https://answers.mindstick.com/qa/42112/who-is-the-originator-of-avengers-characters) in the C [language](https://www.mindstick.com/startup/28/preply-the-fast-growing-platform-transforming-language-learning)?

## Replies

### Reply by Ravi Vishwakarma

Please enter the 200 character in char array.

## [Program](https://www.mindstick.com/blog/12337/scaling-up-your-mentorship-program)

```
#include <stdio.h>#include <ctype.h>int isVovel(char ch);int main () {   int i = 0, noVovel = 0;   char str[] = 'Hi, i am software developer in java, C#, and c language';	   while( str[i] ) {        if(str[i] == ' ')        {            i++;            continue;        }        else if(isVovel(str[i]) == 1)            noVovel++;    i++;   }   printf('NO of vovel in this string is %d', noVovel);   return(0);}int isVovel(char ch){    switch(ch = tolower(ch)){        case 'a':        case 'e':        case 'i':        case 'o':        case 'u':            return 1;        default:            return 0;    }}
```

## Output

```
NO of vovel in this string is 18
```


---

Original Source: https://www.mindstick.com/forum/156812/what-is-a-program-to-count-vowels-in-input-200-characters-in-the-c-language

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
