Answer:
Following are the expression in the Java language
public class Main
{
public static void main(String[] args) // Main method
{
boolean young= true; // variable declaration
boolean famous= true;// variable declaration
if(young && famous) // check the condition
System.out.println("You must be rich " );// display message
}
}
Output:
You must be rich
Explanation:
Following are the description of the above statement
- Declared a variable "young " of the boolean type that is initialized with the "true" value.
- Declared a variable "famous " of the boolean type that is initialized with the "true" value.
- Check the condition of if() block.If the condition is true then it executed the condition inside the if block.
- Finally ,print the message "You must be rich!"
She could try using help topics that could link to saving on other formats.
Without the use of the internet, a computer Microsoft user can click F1 (to open help)>(choose) import or export text. Follow the procedures as stated and try to carefully use it to have the needed output
Answer:
The program in Python is:
Area = float(input("Area: "))
print("Gallons: "+str(Area/350.0))
Explanation:
The requirement of the program is straightforward and what is required is to divide the inputted area by 350.
Hence, the explanation is as follows:
This line prompts user for Area
Area = float(input("Area: "))
This line calculates and prints the equivalent number of gallons
print("Gallons: "+str(Area/350.0))
The correct and genius answer to this problem would be green or red