The answer is Javascript. In partner with HTML/HTML5 (Hypertext markup language : which provides the structure and CSS (Client Side Scripting : Provides the design to the structure). JS or Javascript programming language provides the function at the backend of a webpage. It responds to the input and also calls on the PHP / SQL Scripts to tap the database.
Multiple answers. Attachment and practice of sending unwanted messages
Answer:
return.
Explanation:
When a "return" statement is executed then the given expression or variable in the function is evaluated and the result will be returned by the function when the function is called.With the help of return statement, we can terminate the execution a method/function and then give control to the calling function.
Example:
#include <bits/stdc++.h>
using namespace std;
long long sq( int s )
{
/* here "return" will first execute the expression and then
return the value to the calling function i.e. sq() in the main
function.
*/
return( s * (long long)s );
}
int main()
{
long long y;
int x = INT_MAX;
// sq() will return a value and that value is store in the variable "y"
y = sq( x );
cout<<y<<endl;
return 0;
}
Answer:
Hence the code is given as follows,
import java.util.Scanner;
public class LabProgram {
public static String createAcronym(String userPhrase){
String result = "";
String splits[] = userPhrase.split(" ");
for(int i = 0;i<splits.length;i++){
if(splits[i].charAt(0)>='A' && splits[i].charAt(0)<='Z')
result += splits[i].charAt(0);
}
return result;
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
System.out.println(createAcronym(s));
}
}