We have that the .xlsm <em>Format </em>is used to save Excel Macro-Enabled Workbook file
<h3>Formats</h3>
Generally file are saved in different formats for easy sorting and application on the operating system.
For instance if a music file is renamed and stored in a different format say .exe the audio file wont be recognised as an audio file and hence refuse to play.
e.g
- .exe for a windows appication
- ,mp3 for an audio file
- .xlsm here is used to save Excel Macro-Enabled Workbook file
For more information on Excel visit
brainly.com/question/19295387
That is none other than a "Trojan Horse"
The AUTO FORMATTING ONLY is an auto fill option that fills the destination area using the format of the source area; no content is filled. This is opposite from auto without formatting on which it fills the destination area without formatting.
Answer:
import java.util.Scanner;
public class num6{
static int getTestScores(){
System.out.println("Enter the Score");
Scanner in = new Scanner(System.in);
int score = in.nextInt();
return score;
}
static double calcAverage(int score1, int score2, int score3){
return (score1+score2+score3)/3;
}
static void displayAverage(double ave){
System.out.println("The Average is "+ave);
}
public static void main(String[] args) {
int num1 = getTestScores();
int num2 = getTestScores();
int num3 = getTestScores();
//Calling Calculate Average
double average = calcAverage(num1,num2,num3);
//Calling displayAverage
displayAverage(average);
}
}
Explanation:
- Using Java programming Language
- Create the four methods
- getTestScores() Uses the Scanner Class to receive an in variable and return it
- calcAverage() accepts three ints as parameter calculates their average and return it
- displayAverage() Accepts a double and prints it out with a concatenated string as message
- In the Main Method, getTestScores is called three times to obtain three numbers from the user
- calAverage is called and handed the three numbers
- printAverage is called to output the calculated average