Write Program Translates Alphabetic Phone Number Numeric Form Using C Based Character Arra Q43787168
In C++

Write a program that translates an alphabetic phone number into numeric form using C-based character arrays: Enter Phone Number: Numeric Form: CALLATT 2255288 In case you do not have your cell phone handy, remember that: 1..@. 2 – ABC, 3 = DEF 4 = GHI, 5 = JKL, 6 = MNO, 7 PQRS, 8 = TUV, 9 = WXYZ. If the original phone number contains non- alphabetic characters besides the ones listed for the number 1 (., ‘, or @’), your program should leave the results unchanged. For example: Enter Phone Number: Numeric Form: 1-800-COL-LECT 1-800-265-5328 You may assume that any letters entered into your program by the user could upper or lower case. Specifications: The program needs to store the original phone number in array of characters. The program also needs to store the numeric number in a second array of characters. You may assume that the phone number is no more than 15 characters long, and any letters that are entered into the program by the user may be upper or lower case. Define a constant N for your array size and use it throughout your program. If you execute the program, the following information should be displayed: 1-800-765-5234 1-800-765-5328 > main.o Enter Phone Number: Numeric Form: > main.o Enter Phone Number: Numeric Form: -> main.o Enter Phone Number: Numeric Form: 1800KrIeHn 7 18005743467 011886INTERNTL. 011886468376851 HINT: You will need to initialize your two arrays with the NULL(” ‘) character (ASCII Code 0) so that if you do not print out 15 numbers, you will not print out junk values left over in other elements in the arrays. You will need to use a while() loop to read in your characters, and use a for() loop for your conversion. You may also find a switch() statement to be extremely useful… Show transcribed image text Write a program that translates an alphabetic phone number into numeric form using C-based character arrays: Enter Phone Number: Numeric Form: CALLATT 2255288 In case you do not have your cell phone handy, remember that: 1..@. 2 – ABC, 3 = DEF 4 = GHI, 5 = JKL, 6 = MNO, 7 PQRS, 8 = TUV, 9 = WXYZ. If the original phone number contains non- alphabetic characters besides the ones listed for the number 1 (., ‘, or @’), your program should leave the results unchanged. For example: Enter Phone Number: Numeric Form: 1-800-COL-LECT 1-800-265-5328 You may assume that any letters entered into your program by the user could upper or lower case. Specifications: The program needs to store the original phone number in array of characters. The program also needs to store the numeric number in a second array of characters. You may assume that the phone number is no more than 15 characters long, and any letters that are entered into the program by the user may be upper or lower case. Define a constant N for your array size and use it throughout your program. If you execute the program, the following information should be displayed: 1-800-765-5234 1-800-765-5328 > main.o Enter Phone Number: Numeric Form: > main.o Enter Phone Number: Numeric Form: -> main.o Enter Phone Number: Numeric Form: 1800KrIeHn 7 18005743467 011886INTERNTL. 011886468376851 HINT: You will need to initialize your two arrays with the NULL(” ‘) character (ASCII Code 0) so that if you do not print out 15 numbers, you will not print out junk values left over in other elements in the arrays. You will need to use a while() loop to read in your characters, and use a for() loop for your conversion. You may also find a switch() statement to be extremely useful…
Expert Answer
Answer to Write a program that translates an alphabetic phone number into numeric form using C-based character arrays: Enter Phone…
Write Program Uses Array Doubles Initialized Whatever Values Wish Write Methods Calculate Q43903176
Write a program that uses an array of doubles initialized towhatever values you wish. Write methods to calculate and return theminimum and a method to calculate and return the maximum value inthe array. You must write YOUR ORIGINAL methods for minimum andmaximum. You MAY NOT use Math class methods or other librarymethods.
Write an additional method that accepts the array as a parameterand then creates and returns a new array with all the same valuesas the original plus 10. (num +=10)
So far I have:
public static void main (String[] args)
{
Scanner scan = new Scanner (System.in);
//making an array
double myArray[];
myArray = new double[5];
System.out.println (“Enter numbers:”);
//putting in a numbers in an array
for (int a = 0; a < 5; a++)
{
myArray[a] = scan.nextDouble();
}
//print the array
for (int a = 0; a < 5; a++)
{
System.out.print (myArray[a] + ” “);
}
System.out.println();
System.out.println (“The Min value in the array is: ” +findtheMinimum(myArray));
System.out.println();
System.out.println (“The Max value in the array is: ” +findTheMaximum(myArray));
System.out.println();
System.out.println (“This is the new array: ” +addTen(myArray));
}
//Find the minimum number
public static double findtheMinimum (double[] myArray)
{
double min = myArray[0];
for (int a = 1; a < 5;a++)
{
if( myArray[a] < min)
{
min = myArray[a];
}
}
return min;
}
//Find the maximum number
public static double findTheMaximum (double[] myArray)
{
double max = myArray[0];
for (int a = 1; a < 5;a++)
{
if( myArray[a] > max)
{
max = myArray[a];
}
}
return max;
}
public static double addTen (double[] myArray)
{
double myArray2[];
myArray2 = new double[5];
for (int a = 0; a < 5; a++)
{
myArray2[a] = myArray[a];
}
return myArray;
}
}
The add ten portion won’t work. Please help.
Expert Answer
Answer to Write a program that uses an array of doubles initialized to whatever values you wish. Write methods to calculate and re…
Write Program Uses Array High Temperatures Hometown Last Week Sunday Saturday Write Metho Q43885677
java pseudocode and source code help?Write a program that uses an array of high temperatures for your hometown from last week (Sunday – Saturday). Write methods to calculate and return the lowest high temperature (minimum) and a method to calculate and return the highest high temperature (maximum) in the array. You must write YOUR ORIGINAL methods for minimum and maximum. You MAY NOT use Math class methods or other library methods. Write an additional method that accepts the array as a parameter and then creates and returns a new array with all the same values as the original plus 10. (num +=10) Show transcribed image text Write a program that uses an array of high temperatures for your hometown from last week (Sunday – Saturday). Write methods to calculate and return the lowest high temperature (minimum) and a method to calculate and return the highest high temperature (maximum) in the array. You must write YOUR ORIGINAL methods for minimum and maximum. You MAY NOT use Math class methods or other library methods. Write an additional method that accepts the array as a parameter and then creates and returns a new array with all the same values as the original plus 10. (num +=10)
Expert Answer
Answer to Write a program that uses an array of high temperatures for your hometown from last week (Sunday – Saturday). Write meth…
Write Program Uses Array High Temperatures Hometown Last Week Sunday Saturday Write Metho Q43888184
java pseudocode help ?Write a program that uses an array of high temperatures for your hometown from last week (Sunday – Saturday). Write methods to calculate and return the lowest high temperature (minimum) and a method to calculate and return the highest high temperature (maximum) in the array. You must write YOUR ORIGINAL methods for minimum and maximum. You MAY NOT use Math class methods or other library methods. Write an additional method that accepts the array as a parameter and then creates and returns a new array with all the same values as the original plus 10. (num +=10) Show transcribed image text Write a program that uses an array of high temperatures for your hometown from last week (Sunday – Saturday). Write methods to calculate and return the lowest high temperature (minimum) and a method to calculate and return the highest high temperature (maximum) in the array. You must write YOUR ORIGINAL methods for minimum and maximum. You MAY NOT use Math class methods or other library methods. Write an additional method that accepts the array as a parameter and then creates and returns a new array with all the same values as the original plus 10. (num +=10)
Expert Answer
Answer to Write a program that uses an array of high temperatures for your hometown from last week (Sunday – Saturday). Write meth…
Write Program Uses Loops Perform Following Steps Prompt User Input Two Integers Firstnum S Q43787568
Write a program thatuses while loops to perform the following steps:
- Prompt the user to input two integers: firstNum and secondNum(firstNum must be less than secondNum).
- Output all odd numbers between firstNum and secondNum.
- Output the sum of all even numbers between firstNum andsecondNum.
- Output the numbers and their squares between 1 and 10.
- Output the sum of the square of the odd numbers betweenfirstNum and secondNum.
- Output all uppercase letters.
The output should look like this!
Expert Answer
Answer to Write a program that uses while loops to perform the following steps: Prompt the user to input two integers: firstNum an…
Write Program Uses Scanner Object Read Doubles Representing Positive Daily Temperatures Pe Q43889009

Expert Answer
Answer to Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of …
Write Program Uses Scanner Object Read Doubles Representing Positive Daily Temperatures Pe Q43894823
java
Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of time. You will need to keep track of the total temperatures that you read in and the lowest temperature that you read in Using a loop your choice on type keep reading in temperatures doubles until you read in. Then print the total number of temperatures that you read in and the lowest temperature Note: iftis entered at the start, then the program won’t print anything Examples Sample input lon one linel Sample Output 10.5 21.5 16.8 12.6 9.2 15.6- 2uJ4574 515 Problem java New X Full Screen Grading Test Case 1 NOT RUN S est Case 2 NOT RUN Test Case 3 NOT RUN Test Case 4 NOT RUN S Test Case 5 Show transcribed image text Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of time. You will need to keep track of the total temperatures that you read in and the lowest temperature that you read in Using a loop your choice on type keep reading in temperatures doubles until you read in. Then print the total number of temperatures that you read in and the lowest temperature Note: iftis entered at the start, then the program won’t print anything Examples Sample input lon one linel Sample Output 10.5 21.5 16.8 12.6 9.2 15.6- 2uJ4574 515 Problem java New X Full Screen Grading Test Case 1 NOT RUN S est Case 2 NOT RUN Test Case 3 NOT RUN Test Case 4 NOT RUN S Test Case 5
Expert Answer
Answer to Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of …
Write Program Uses Scanner Object Read Doubles Representing Positive Daily Temperatures Pe Q43895365
Use java to answer that please
Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of time. You will need to keep track of the total temperatures that you read in and the lowest temperature that you read in. Using a loop (your choice on type) keep reading in temperatures (doubles) until you read in -1. Then print the total number of temperatures that you read in and the lowest temperature. Note: if -1 is entered at the start, then the program won’t print anything. Examples Sample Input (on one line) Sample Output 10.5 21.5 16.8 12.6 9.2 15.6 -1 6 9.2 2 7.3 3.4 1.5 6.7 -1 5 1.5 -1 Show transcribed image text Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of time. You will need to keep track of the total temperatures that you read in and the lowest temperature that you read in. Using a loop (your choice on type) keep reading in temperatures (doubles) until you read in -1. Then print the total number of temperatures that you read in and the lowest temperature. Note: if -1 is entered at the start, then the program won’t print anything. Examples Sample Input (on one line) Sample Output 10.5 21.5 16.8 12.6 9.2 15.6 -1 6 9.2 2 7.3 3.4 1.5 6.7 -1 5 1.5 -1
Expert Answer
Answer to Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of …
Write Program Uses Scanner Object Read Doubles Representing Postive Deily Temperatures Per Q43878287

![Write a program that uses a Scanner object to read in a positive integer (NL Then using a loop lyour choice on type] read in](https://media.cheggcdn.com/media/7bf/7bf97079-be30-4811-9739-2adb1cb064b6/image.png)
java
Write a program that uses a Scanner object to read in doubles representing postive deily temperatures over a period of time. You will need to keep track of the total temperatures thet you read in and the lowest temperature that you read in Using a loop lyour choice on type) keep reading in temperatures (doubles] until you read in-1 Then print the total number of temperatures that you read in and the lowest temperature Note -lis entered at the start then the program wont print anything Examples Sample Input Jon one ine Sample Output 10.5 215 16.8 12.692 15.6 -1 69.2 273341.5 6.7-1 5 15 Write a program that uses a Scanner object to read in a positive integer (NL Then using a loop lyour choice on type] read in N invoice totals (doubles) from Dahousie’s Bookstore. After reading in all the invoices. print the total of all the invoices and the average of all the invoices (dont wory about controling for decimal places). Examples Sample Input (on ane line) Sample Output 39.15 12.40 22.50 $44.05 $14.683333333333332 5 14.30 7.05 19.35 25.80 56.90 $123.4 $24.68 Show transcribed image text Write a program that uses a Scanner object to read in doubles representing postive deily temperatures over a period of time. You will need to keep track of the total temperatures thet you read in and the lowest temperature that you read in Using a loop lyour choice on type) keep reading in temperatures (doubles] until you read in-1 Then print the total number of temperatures that you read in and the lowest temperature Note -lis entered at the start then the program wont print anything Examples Sample Input Jon one ine Sample Output 10.5 215 16.8 12.692 15.6 -1 69.2 273341.5 6.7-1 5 15
Write a program that uses a Scanner object to read in a positive integer (NL Then using a loop lyour choice on type] read in N invoice totals (doubles) from Dahousie’s Bookstore. After reading in all the invoices. print the total of all the invoices and the average of all the invoices (dont wory about controling for decimal places). Examples Sample Input (on ane line) Sample Output 39.15 12.40 22.50 $44.05 $14.683333333333332 5 14.30 7.05 19.35 25.80 56.90 $123.4 $24.68
Expert Answer
Answer to Write a program that uses a Scanner object to read in doubles representing postive deily temperatures over a period of t…
Write Program Uses Scanner Object Read Name Note Name One Words Print Hello Entered Namel Q43889004

Expert Answer
Answer to Write a program that uses a Scanner object to read in a name. Note, a name will be one or more words. It will then print…