majd hamayel

majd hamayel

  • NA
  • 6
  • 5.6k

help me

Nov 17 2014 11:23 AM
Write a complete C/C++ program to do the following:
1-Define static array called A of size 8 of type double, read all elements from
keyboard then compute and print the product of all elements that found in odd indices
[1,3,5….]
2-Define two dynamic arrays called B and C of size 5 of type character, read all
elements from keyboard then compute:
? The count of occurrence of vowels ('a','u','i','e') in both array B and C.
? Replace all capital letters of array C with '#'
? Fill a new dynamically allocated array called D from only the small letters in
both arrays B and C .

Answers (1)