Develop a first-cut design class diagram for a doctor who checks if a patient is vaccinated or not and when by checking previous patient health records
String Ending with Vowel
Given an array of vowels in the prefilled code and a string
inputString as an input, write a JS program to check whether the inputString ends with a vowel.
Quick Tip
You can use the string methods toUpperCase() and endsWith().
Sample Input 1
Five
Sample Output 1
true
Sample Input 2
Apples grow best where there is cold in winter
Sample Output 2
false
Common Items in Three Arrays
Given three arrays
sample input 1
[1, 2, 3, 'cat']
[1, 'cat', 7, 10]
[1, 'cat', 16, 64]
sample output1
[ 1, 'cat' ]
Find the Duplicate in an Array
Given an array
sample input 1
['light', 'dark', 'twilight']
sample ouput 1
false
sample input 2
[1, 2, 3, 4, 5, 6, 7, 7, 8]
sample output 2
7
Write a c++ program to generate a dynamic multiplication table allow the user to specify the following;
-The type of multiplication table
-The starting point
-The ending point
// 2 * 2 = 1
// 2 * 10 = 10
Given an integer number N as input. Write a program to print the right-angled triangular pattern of N rows as shown below.
The first line of input is a positive integer.
For example, if the given number is
5, the output should be
______
| /
| /
| /
| /
|/7,the out put should be
________
| /
| /
| /
| /
| /
| /
|/