#these are java program.. write and run the code.it’s urgent need the solution within 30 minutes. (A) There is a string

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

#these are java program.. write and run the code.it’s urgent need the solution within 30 minutes. (A) There is a string

Post by answerhappygod »

#these are java program.. write and run the code.it’s urgent need the solution within 30 minutes.
(A) There is a string array composed of English words:string s []

={"we","will","word","what","and","two","out","I","hope","you","can",

"me","please","accept","my","best"}; Write program to realize:

1) Count the number of words beginning with the letter w;

2) Count the number of words with "or" string in the word;
3) Count the number of words with length of 3.


(B)The grades of three students in Advanced Mathematics, Assembly Language and Java Programming are known, and the average score of each student is calculated and output to the screen.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply