Count Vowels in any String – Python way

These code snippets discusses how to count vowels in string python using different methods. Old school methods as well as python way

C++ to Print Scale Up character Pattern

C++/C program to print scale up pattern on the screen. /* Program to scale up made by : rakesh kumar */ #include using namespace std; int main() { int m,n,k; int i,j,l,a; cout<<“\n Enter value of m,n,k :”; cin>>m>>n>>k; char str[m][1000]; for(int i=0;i<m;i++) { fflush(stdin); cin.getline(str[i],1000); } // display the scale up output for(i=0;i<n;i++) { […]

CPP program to check valid Identifier

C++ program to check the validity of any input string whether the inputted string is a valid identifier or invalid identifier.  While developing this program we followed the basic rules of a valid identifiers in C/C++. All the valid identifiers should either start with alphabet or underscore (_). It should not contain any special character […]