words with vowels
The goal of this coading exam is to quickly get you off the ground with the array method filter().
given vowel list in the prefilled code and wordList as input,write a js program to,
filrer the words from wordslist with at least one vowel in it
log the array containning the filtered words in the console
input:
['Sword' , 'Myth' , 'Patient', 'Rhythm']
output:
['Sword', 'Patient']
input:
['Road' , 'Printer' , 'Eye' , 'Hymn']
output:
['Road' , 'Printer' , 'Eye' ]
Write C++ Program that obtains several number of students’ info and displays it to
the console. Define a structure Student, structure data members char ID[15], char
grade.
Challenging Numerical Triangles
by CodeChum Admin
You probably have encountered Triangle pattern problems before when you started learning programming. Let’s see how well you do with numbers this time. Try to look at the examples closely and think of an algorithm that replicates the outputs. Go for it!
The first line will contain a message prompt to width of the skyscraper.
The second line will contain a message prompt to height of the skyscraper.
The succeeding lines will contain the skyscraper pattern.
Programming
a. Create class name Employee
b. add the attributes: firstName, LastName, MiddleName, Age, Company,Salary and
IDNumber
c. create a getters and setter for the class
d. add constructors (with and without parameters)
e. add function in your class name it DisplayInfo to display all details of the employee
f. add a function name it SalWithVat, to calculate the salary with 12% tax deduction.
g. Create main class to test your Class
create a c-program that shows the comparative values of the elements of arithmetic, geometric and harmonic progression in table. inputs include a1-first term, d or r - common difference or ratio, and n-number of terms or elements
Write one dimensional array C++ program that ask to the user to enter the array size and reads n integers, finds the largest of them, and count its occurrences. Suppose that you entered 100, 200, 100, 50, 50, 50 as shown in sample input/output. The program finds that the largest is 200 and that the occurrence count for 200 is 1.
1. Write a program using string function that will accept the name of the capital as input value and it will display the corresponding country.
CAPITAL COUNTRY
Ottawa Canada
Washington D.C. United States
Moscow Russia
Rome Italy
2. Write a simple decryption program using string functions which will apply the Substitution Method. Here is the given Substitution Table.
Substitution Table:
* A
$ E
/ I
+ O
= U
Write one dimensional array C++ program that ask to the user to enter the array size
and reads n integers, finds the largest of them, and count its occurrences. Suppose