Answer:
In Java:
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String name;
System.out.print("First name: ");
name = input.next();
name= name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();
System.out.print(name);
}
}
Explanation:
This declares name as string
String name;
This prompts the user for first name
System.out.print("First name: ");
This gets the name from the user
name = input.next();
This capitalizes the first letter of name and makes the other letters to be in lowercase
name= name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();
This prints the formatted name
System.out.print(name);
The Answer Is: "Microsoft".
Answer:
An incurred cost that cannot be recovered, which is irrelevant for all decisions about the future, is included in the projected cost of a project. According to "Thinking Like an Economist," this an example of:<u> Failing to ignore sunk costs</u>
Explanation:
A sunk cost is a cost that cannot be recovered or changed and is independent of any future costs a business may incur. Since decision-making only affects the future course of business, sunk costs should be irrelevant in the decision-making process