Computer Applications
Give the prototype of a function search, which receives a sentence sentc and a word wrd and returns 1 or 0.
User Defined Methods
16 Likes
Answer
boolean search(String sentc, String wrd)
Answered By
13 Likes
Related Questions
Predict the output
(a) Math.pow(3.4, 2) + 2 * Math.sqrt(64)
(b) Math.ceil(3.4) + 2 * Math.floor(3.4) + 2
If a = 24, b = 15, find the value of:
a += b++ * 5 / a++ + bHow many times will the following loop execute?
int x = 2, y = 50; do { ++x; y -= x++; } while (x <= 10); return y;If
int a[] = {7, 3, 4, 8, 9, 2};what are the values of x and y?(a) x = a[1] * a[0] + a[3]
(b) y = a.length