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
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain size number, the finer the gran is. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
question
Engineering, 04.07.2019 19:10
A)-explain briefly the importance of standards in engineering design. b)- what is patent? c)-explain the relationship between these standards: b.s. and b.s.en d)- in engineering design concepts, types of loads and how they act are important factors. explain.
Answers: 3
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.12.2021 18:50
Questions on the website: 13722367