Answer:
// here is code in java.
import java.util.*;
// class definition
class Solution
{
// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// scanner object to read innput
Scanner s=new Scanner(System.in);
// variables
long min,years,days;
long temp;
System.out.print("Please enter minutes:");
// read minutes
min=s.nextLong();
// make a copy
temp=min;
// calculate days
days=min/1440;
// calculate years
years=days/365;
// calculate remaining days after years
days=days%365;
// print output
System.out.println(temp+" minutes is equal to "+years+" years and "+days+" days");
}catch(Exception ex){
return;}
}
}
Explanation:
Read the number of minutes from user and assign it to variable "minutes" of long long int type.Make a copy of input minutes.Then calculate total days by dividing the input minutes with 1440, because there is 1440 minutes in a day.Then find the year by dividing days with 365.Then find the remaining days and print the output.
Output:
please enter the minutes:1000000000
1000000000 minutes is equal to 1902 years and 214 days.
ANSWER:
The correct answer is Running Sum.
Explanation:
A report has a column of totals, with each total adding to the cell above it. Such type of calculated figure is called the Running Sum.
Running sum is also called the Partial Sum. In such type of summation, the values in the sequence is added to get a final result and then if a new number comes, it is again added to the grand sum, and in this way the sequence continues. Every new entry is added to the previous sum to get another sum.
Well if you forgot your password you can click "Forgot Password" at the bottom and it should ask you some questions and send you an email with the password
//=indicating you to do the programming part on your own relating to the description provided against. This done because different programming languages require different coding for that.
n=integer value
n1=dummy storage for n
r=variable used to do the function
{
int n,r,n1,rev=0;
//do the coding here for storing the integer in the variable n
n1=n;
while(n>0){
r=n%10;
rev=(rev*10)+r;
n=n/10;
}
//now add a command for displaying the value of rev
}
this is just a logic i used for java
done.
Answer: use this link :- https://www.file-extension.info/conversion/enw-to-pdf
Explanation: