Answer:
import java.util.Scanner;
public class num5 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter The First String");
String str1 = in.next();
System.out.println("Enter The Second String");
String str2 = in.next();
System.out.println("Enter The Third String");
String str3 = in.next();
String oneAndTwo = str1+str2;
if(str3.equals(oneAndTwo)){
System.out.println(str1+" + "+str2+" is equal to "+str3+"!");
}
else
System.out.println(str1+" + "+str2+" is not equal to "+str3+"!");
}
}
Explanation:
- Implemented in Using Java Programming Language
- Import Scanner Class to prompt and receive users' input
- Create three string variables and store the three values entered by the user (str1, str2 and str3)
- Concatenate str1 and str2 using the + operator and assign to a new variable
- Use the if statement with Java's .equals() method to check for equality of the new string with the third string
- Print the appropriate message if the equal or not
Answer
unified communication software or video conference.
Explanation:
Answer:
ncdjjgcdbywgf ebyafbhfgcabfy bahgfdhvgafvhaef aeyhyfbhavgcjhvvhgfrau ahkgvbha,vjykabvfbhagkfvbadh avhvhav havgkv fa64gfdvwhefv nsdagcyudaf vdabncvyaukefk we7ytryuhaqgryw4tgty gyut r uytr eyuguhjayuft47rgutr7ytr yuwqGHRUEGW7RUGU4GQATYUERGAYFUGEURGAAQ
Explanation: