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
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:10
Journeyman training is usually related (clo2) a)-to specific tasks b)-to cost analysis of maintenance task c)-to control process to ensure quality d)-to installation of machinery
Answers: 2
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
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, 21.05.2021 02:50
question
Mathematics, 21.05.2021 02:50
question
Social Studies, 21.05.2021 02:50
question
Mathematics, 21.05.2021 02:50
question
Mathematics, 21.05.2021 02:50
Questions on the website: 13722367