java program 6
Description
a. Write a program that translates a text to Fake Latin and back. English is translated to Fake Latin by taking the first letter of every word, moving it to the end of the word and adding y4o each word.
As an example, if your program reads from the keyboard the string (e quick brown fox4hen it should print on the screen the following text: %tay uickqay rownbay oxfay¼/p>
You should also implement the reverse of this, reading “Iay ikelay rogrammingpay” should print on the screen “I like programming”.
b. Write a Java program to display Pascal’s triangle for a number of rows (you read from the keyboard the number of rows). Here you have more information about Pascal’s triangle for your review.
Input number of rows: 5
Expected Output :
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
DUE DATE February 28th, 2023
at midnight
Please submit only the .java file(s) that solve the problem and do not forget to include your details as comments in the first few lines of
the source-code as comment.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."