it is possible to design a rectangular Park of perimeter 80m and area 400m square if so find its length and breadth
Answers
Answer:
here is your answer
l=34 or 46
b=6 and it cannot be -6 because distance can't be negetive
please mark me as brainliest ANSWER
BE COOL AND ENJOY THE NEXT ATTACHMENT
Answer:
please mark as brainlest answer of what
Step-by-step explanation:
I'm writing program called piglatin. The program will keep running until user type quit. Any words start with a vowel, the end of the word must add "way". If the word start with a consonant, then I have to move the consonant to the end of the word and add word "ay". The only problem i have is how to make my program to be able to change all the words individually instead of based on the first word of a sentence. For example "he is nice" should become "ehay isway icenay" but my output is like this "e is nicehay". thank you so much for your help, i really appreciate it. here is my code
import java.util.Scanner;
public class PigLatin
{
public static void main(String[] args)
{
Scanner input = new Scanner( System.in );
String yourSentence="";
String[] tokens;
do
{
System.out.print("Enter your words here: ");
yourSentence = input.nextLine();
if( yourSentence.startsWith("a") || yourSentence.startsWith("e") || yourSentence.startsWith("i") ||
yourSentence.startsWith("o") || yourSentence.startsWith("u"))
{
System.out.print(yourSentence+ "way");
}