#include <stdio.h>
#include <stdlib.h>
#include <string.h>
main (int argc,char **argv)
{
char *a,*b,c;
int t,e;
if (argc<2) return(0);
a=argv[1];
b=a;
e=strlen(b);
for (t=0;t<=e;t++)
{
c = *b;
if (c>='A'&&c<='Z') c -= 'A'-'a';
if (c=='a'c=='e'c=='i'c=='o'c=='u') b++;
else *a++ = *b++;
}
printf ("%s\n",argv[1]);
return(0);
}
That's easy to do!This script will get the POST data from an HTML form and check if it is a vowel.
How to write a program for mouse in microprocessor?
Reference:cprogramming-bd.com/c_page1.aspx# array programming
To write a C++ program to display the student details using class and array of object.
the example of array over charcter variables is char ["string"]
That's easy to do!This script will get the POST data from an HTML form and check if it is a vowel.
build an array of vowels then do a foreach on the array and then explode the string on the array value and the answer is -1 of the result
Reference:cprogramming-bd.com/c_page1.aspx# array programming
How to write a program for mouse in microprocessor?
To write a C++ program to display the student details using class and array of object.
the example of array over charcter variables is char ["string"]
write an assembly language program to find sum of N numbers
array type
int findMax(int *array) { int max = array[0]; for(int i = 1; i < array.length(); i++) { if(array[i] > max) max = array[i] } return max; }
maxValue = function (array) {mxm = array[0];for (i=0; i<array.length; i++) {if (array[i]>mxm) {mxm = array[i];}}return mxm;}; i don't know
public static int[] reverseArray(int[] array) { int i = 0, j = array.length - 1; for (i = 0; i < array.length / 2; i++, j--) { int temp = array[i]; array[i] = array[j]; array[j] = temp; } return array; }
Yes, you can but the array must be char-type. ... int arraySize = 3;char myArray[arraySize]; ... for (intarrayIndex = 0; arrayIndex < arraySize; arrayInsex++) { cin >> myArray[arrayIndex]; //It will write three character (keys which you pressed) in myArray} ...