subject
Engineering, 04.11.2019 22:31 stefancvorovic1

An acronym is a word formed from the initial letters of words in a set phrase. write a program whose input is a phrase and whose output is an acronym of the input. if a word begins with a lower case letter, don't include that letter in the acronym. assume there will be at least one upper case letter in the input.

ex: if the input is institute of electrical and electronics engineers, the output should be:

your program must define and call a method thats returns the acronym created for the given userphrase.
public static string createacronym(string userphrase)

hint: refer to the ascii table to make sure a letter is upper case.

import java. util. scanner;

public class labprogram {

/* define your method here */

public static void main(string[] args) {
/* type your code here. */
}
}

ansver
Answers: 3

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
Which of the following components of a pid controlled accumulates the error over time and responds to system error after the error has been accumulated? a)- proportional b)- derivative c)- integral d)- on/off.
Answers: 2
question
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg β€’ k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
question
Engineering, 04.07.2019 19:20
Acommercial grade cubical freezer, 4 m on a side, has a composite wall consisting of an exterior sheet of 5.0-mm thick plain carbon steel (kst= 60.5 w/m k), an intermediate layer of 100-mm thick polyurethane insulation (kins 0.02 w/m k), and an inner sheet of 5.0- mm thick aluminium alloy (kal polyurethane insulation and both metallic sheets are each characterized by a thermal contact resistance of r 2.5 x 104 m2 k/w. (a) what is the steady-state cooling load that must be maintained by the refrigerator under conditions for which the outer and inner surface temperatures are 25Β°c and -5Β°c, respectively? (b) for power saving purpose, which wall material should be increased/reduced in. thickness in order to reduce 50% of the cooling load found in part (a)? redesign the thickness of the proposed material. 177 w/m-k). adhesive interfaces between the q=575.93 w
Answers: 2
You know the right answer?
An acronym is a word formed from the initial letters of words in a set phrase. write a program whose...
Questions
question
Mathematics, 22.03.2021 20:00
question
Business, 22.03.2021 20:00
question
Mathematics, 22.03.2021 20:00
question
English, 22.03.2021 20:00
question
History, 22.03.2021 20:00
Questions on the website: 13722362