Answer:
// here is code in java.
import java.util.*;
// class definition
class SammysRentalPrice
{
// main method of the class
public static void main(String[] args) {
// scanner object to read input from user
Scanner s=new Scanner(System.in);
// ask user to enter year
System.out.print("Enter the rented minutes:");
// read minutes
int min=s.nextInt();
// find hpurs
int hours=min/60;
// rest of minutes after the hours
min=min%60;
// total cost
int tot_cost=(hours*40)+(min*1);
// print hours,minute and total cost
System.out.println("total hours is: "+hours);
System.out.println("total minutes is: "+min);
System.out.println("total cost is: "+tot_cost);
}
}
Explanation:
Read the rented minutes of an equipment from user with the help of scanner object. Calculate the hours and then minutes from the given minutes.Calculate the cost by multiply 40 with hours and minute with 1.Add both of them, this will be the total cost.
Output:
Enter the rented minutes:140
total hours is: 2
total minutes is: 20
total cost is: 100
Having to compare results on experiments or lab tests to each other.
It is important to analyze the sources and uses of cash because creditors use this information to assist them in deciding whether to loan funds to them. Investors use this information to decide if they will purchase their stock.
Managing your revenue is an important step to starting or investing in something.
Creditors always check and properly analyze the sources of cash before providing a loan to a lender. They do not invest in companies or people who are least likely to source and make cash in the coming time. Hence, your sources and uses shall be properly analyzed when presenting to creditors.
Investors, whenever investing in something will look at the benefits of the source they want to invest into. If a source is not likely to produce beneficiary revenue in the upcoming time, then investors will never invest in such a kind of source.
To learn more about investors, click here:
brainly.com/question/25311149
#SPJ4
An example of hardware would be a computer. it is a device used to hold and contain/operate software (programs) and exists in a real physical form.