Ask your Question

PEOPLE YOU MIGHT KNOW

Mansi
Mansi

One stop solution for all digital marketing needs!

West Chester,  United States
Impressico
Impressico

New York,  United States
Vpro
Vpro

Vpro Infotech

Ludhiana,  India
Eecrets
Eecrets

MAGENTO CUSTOMIZATION. DEVELOPMENT AND INTEGRATIONS

Varanasi,  India
Wedding
Wedding

Wedding Limo Services Company in Toronto

ON,  Canada

Write to us

Ask Question

created-program-for-vowel-counting-in-a word

i created a program for vowel counting in a word but it causing an error which was undefined offset

$v=array('a','e','i','o','u');
$a=array('w','e','l','c','o','m','e');
$f=0;
for($c=0;$c<=7;$c++){
             for($b=0;$c<=5;$b++){
                       if(($a[$c]==$v[$b])){
                                $f++;
                                }
        
                      }
            
    
             }
    echo $f;        
?> 

0   0
Fazal Ahmed

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site