Describe the term public static void displaysortednumbers


Problem:

Question 1- Write a method with the following header to display three numbers in increasing order (one blank space between numbers): public static void displaySortedNumbers(double num1, double num2, double num3).

Question 2- (Count the letters in a string ) Write a method that counts the number of letters in a string using the following header:

public static int countLetters(String s).

Write a test program that prompts the user to enter a string and displays the number of letters in the string , not counting numbers, spaces, or symbols.

Write the code step by step and explain it.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe the term public static void displaysortednumbers
Reference No:- TGS0893783

Expected delivery within 24 Hours