Answer:
// Here is SammysRentalPrice.java file
// import package
import java.util.*;
// class definition
class SammysRentalPrice
{
// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// object to read value from user
Scanner scr=new Scanner(System.in);
// ask to enter rented minutes
System.out.print("enter rented minutes: ");
// read minutes
int min=scr.nextInt();
// find hours
int hour=min/60;
//reamining minutes
min=min%60;
// total cost
int cost=hour*40+min*1;
// print cost
System.out.println("total cost is: "+cost);
}catch(Exception ex){
return;}
}
}
Explanation:
Read rented minutes from user and assign it to variable "min".Find the hours from minutes and then update the remaining minutes.After this multiply hours with 40 and remaining minutes with 1.Sum them and this will be the cost of rented a sports equipment.
Output:
enter rented minutes: 145
total cost is: 105
Btw..which dtadium do u want cricket or football!?
Answer:
1) Meditate : Create a little space in your room where you can meditate (e.g. light candles and incense, play calming music). Reaching a meditative state takes practice but there are some great tips for beginners online. Meditation can help ease anxiety and improve concentration.
2) Watch something funny. Laughter really is the best medicine. It relieves physical tension, reduces stress and increases immunity…so watch your fave comedy and laugh your way to tranquility.
<u><em>Hope this helps.....</em></u>
<u><em>Pls mark this answer as brainliest :)</em></u>
<h2> </h2><h2> <u><em>
STAY COOL </em></u> </h2>
Answer:
Scan over the article for references/resources, find general information about your topic, find keywords and terms you can use for further searching.
Explanation:
Answer:
As you shop around for computers, you'll notice certain processor names that continually pop up. One of the most common is the Intel® Core™ series: the i3 processor, i5 processor, and i7 processor. As the names suggest, the i3 processor is less powerful than the i5, and the i7 is the most powerful of the three.
hope helpful <3