REUPLOAD: I need to fill the program to its designated output I have inserted sample runs and the template of codes that will be used(?) Thank you! I TYPED DOWN THE CODE W/ THE PICTURE ATTACHED:  import java. util. Formatter; import java. util. Scanner; public class Chupapi { private static Formatter output; public static void main (String[] args) throws Exception { output = new Formatter("output.txt"); Scanner in = new Scanner(System.in); } // This method has one parameter and will return the string with all uppercase characters. public static String toUpperCase(String str) { // This method has one parameter and will return the number of vowels in the string. public static int countVowels(String str) { int numvowels = 0; return numvowels; } // This method has one parameter and Witt return true if the string is o pot indrome, // fotse if the string is not o potindrome. public static boolean isPalindrome(String str){ boolean isReversible; return isReversible; } //This method hos three porometers and will display to screen the following: //OUTPUT Original string entered by user: //OUTPUT String in uppercose: //OUTPUT Number of vowels in the string: //OUTPUT Is string o potindrome? public static void displayData(String str, int numvowels, boolean isPalindrome){ System.out.println(""); System.out.println(""); System.out.println(""); System.out.println(""); } /* This method has three parameters and Witt write to text Fite the following: Original string entered by user: String in uppercase: Number of vowels in the string: Is string a polindrome? */ public static void writeToFile(String str, int numvowels, boolean isPalindrome) { System.out.println("Data was written to file.");   } }

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

REUPLOAD: I need to fill the program to its designated output I have inserted sample runs and the template of codes that will be used(?) Thank you!

I TYPED DOWN THE CODE W/ THE PICTURE ATTACHED: 

import java. util. Formatter;
import java. util. Scanner;

public class Chupapi {
private static Formatter output;

public static void main (String[] args) throws Exception {
output = new Formatter("output.txt");
Scanner in = new Scanner(System.in);

}

// This method has one parameter and will return the string with all uppercase characters.
public static String toUpperCase(String str) {


// This method has one parameter and will return the number of vowels in the string.
public static int countVowels(String str) {
int numvowels = 0;

return numvowels;
}

// This method has one parameter and Witt return true if the string is o pot indrome,
// fotse if the string is not o potindrome.
public static boolean isPalindrome(String str){
boolean isReversible;

return isReversible;
}

//This method hos three porometers and will display to screen the following:
//OUTPUT Original string entered by user:
//OUTPUT String in uppercose:
//OUTPUT Number of vowels in the string:
//OUTPUT Is string o potindrome?
public static void displayData(String str, int numvowels, boolean isPalindrome){
System.out.println("");
System.out.println("");
System.out.println("");
System.out.println("");
}

/*
This method has three parameters and Witt write to text Fite the following:
Original string entered by user:
String in uppercase:
Number of vowels in the string:
Is string a polindrome?
*/

public static void writeToFile(String str, int numvowels, boolean isPalindrome) {

System.out.println("Data was written to file.");
  }
}

i port java.util. Formatter;
i port java.util.Scanner;
public class akontas tName_ETEX {
private static Formatter output;
public static void main (String[] args) throws Exception {
output = new Formatter ("output.txt");
Scanner in = new Scanner (System. in);
// This method has one parometer ond will return the string with oll uppercase characters.
public static String toUpperCase(String str) {
// This method hos one porometer ond will return the number of vowels in the string.
public static int countvowels (String str) {
int numvowels = 0;
return num Vowels;
//
This method hos one parameter ond wiLt return true if the string is o palindrome,
// false if the string is not o polindrome.
public static boolean is Palindrome (String str) {
boolean isReversible;
return isReversible;
/*
This method hos three porometers ond will di sploy to screen the following:
Original string entered by user:
String in uppercase:
Number of vowels in the string:
Is string o palindrome?
*/
public static void displayData(String str, int numVowels, boolean isPalindrome) {
System.out.println("");
System.out.println("");
System.out.println("");
System.out.println("");
}
This method hos three parometers ond witt write to text file the following:
Original string entered by user:
String in uppercase:
Number of vowels in the string:
Is string o polindrome?
*/
public static void writeToFile(String str, int numVowels, boolean isPalindrome) {
System.out.println("Data was written to file.");
}
Transcribed Image Text:i port java.util. Formatter; i port java.util.Scanner; public class akontas tName_ETEX { private static Formatter output; public static void main (String[] args) throws Exception { output = new Formatter ("output.txt"); Scanner in = new Scanner (System. in); // This method has one parometer ond will return the string with oll uppercase characters. public static String toUpperCase(String str) { // This method hos one porometer ond will return the number of vowels in the string. public static int countvowels (String str) { int numvowels = 0; return num Vowels; // This method hos one parameter ond wiLt return true if the string is o palindrome, // false if the string is not o polindrome. public static boolean is Palindrome (String str) { boolean isReversible; return isReversible; /* This method hos three porometers ond will di sploy to screen the following: Original string entered by user: String in uppercase: Number of vowels in the string: Is string o palindrome? */ public static void displayData(String str, int numVowels, boolean isPalindrome) { System.out.println(""); System.out.println(""); System.out.println(""); System.out.println(""); } This method hos three parometers ond witt write to text file the following: Original string entered by user: String in uppercase: Number of vowels in the string: Is string o polindrome? */ public static void writeToFile(String str, int numVowels, boolean isPalindrome) { System.out.println("Data was written to file."); }
Bugs Bunny
Class Section
Please enter a string: civic
Original string entered by user: civic
String in uppercase: CIVIC
Number of vowels in the string: 2
Is string a palindrome? true
Data was written to file.
Bugs Bunny
Class Section
Please enter a string: abABcCDdEeeE
Original string entered by user: abABcCDdEeeE
String in uppercase: ABABCCDDEEEE
Number of vowels in the string: 6
Is string a palindrome? false
Data was written to file.
public static string toupperCase(string str)
This method has one parameter and wilf return the string with alf uppercase characters.
public static int countvowels(String str)
This method has one parameter and wilf return the number of vowels in the string.
public static boolean isPalindrome(string str)
This method has one parameter and wilf return true if the string is a palindrome, false if the string is not a palindrome.
public static void displayData( String str, int nuvoels, boolean ispalindrome)
This method has three parameters and wiff display to screen the following:
Original string entered by user:
String in uppercase:
Number of vowels in the string:
is string a palindrome?
public static void displayData(string str, imt numvowels, boolean isPalindrome)
This method has three parameters and wilf display to screen the following:
Original string entered by user:
String in uppercase:
Number of vowels in the string:
is string a patindrome?
public static void main (String[] args) throws Exception
This method will:
• display your full name and course code
• ask the user for the original string to be tested.
• invoke all the methods listed above
Transcribed Image Text:Bugs Bunny Class Section Please enter a string: civic Original string entered by user: civic String in uppercase: CIVIC Number of vowels in the string: 2 Is string a palindrome? true Data was written to file. Bugs Bunny Class Section Please enter a string: abABcCDdEeeE Original string entered by user: abABcCDdEeeE String in uppercase: ABABCCDDEEEE Number of vowels in the string: 6 Is string a palindrome? false Data was written to file. public static string toupperCase(string str) This method has one parameter and wilf return the string with alf uppercase characters. public static int countvowels(String str) This method has one parameter and wilf return the number of vowels in the string. public static boolean isPalindrome(string str) This method has one parameter and wilf return true if the string is a palindrome, false if the string is not a palindrome. public static void displayData( String str, int nuvoels, boolean ispalindrome) This method has three parameters and wiff display to screen the following: Original string entered by user: String in uppercase: Number of vowels in the string: is string a palindrome? public static void displayData(string str, imt numvowels, boolean isPalindrome) This method has three parameters and wilf display to screen the following: Original string entered by user: String in uppercase: Number of vowels in the string: is string a patindrome? public static void main (String[] args) throws Exception This method will: • display your full name and course code • ask the user for the original string to be tested. • invoke all the methods listed above
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY