Answer:
// here is code in c++.
// include headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
long long int minutes,years,days;
long long int s;
cout<<"please enter the minutes:";
// read the minutes
cin>>minutes;
// make a copy
s=minutes;
// calculate days
days=minutes/1440;
// calculate years
years=days/365;
// calculate remaining days after years
days=days%365;
// print the result
cout<<s<<" minutes is equal to "<<years<<" years "<<days<<" days."<<endl;
return 0;
}
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 214 days.
Answer:
The answer is "Option B"
Explanation:
In the given code, a class "DateType" is declared, inside the class, four methods "Initialize, GetYear, GetMethod, and GetDay" is defined, in which the "Initialize" method does not return any value and other methods return a constant type value, which means it value can't be changed.
Inside the class three integer variable is defined, that is"year, month, and day". In the "GetDay" method call, it first creates the class object "day1", which is already defined in question and call the method by dot (.), that's why only choice b is correct.
Answer: d. incremental backup
Explanation:
In incremental backup it copies only the files that have changed since the last full backup. It does not backup all the files just like the full backup. it however backup those copies into the system which has changed since the last backup.
In doing so it just increases the efficiency and performance of the backup procedure. This process is basically preferred when the amount of file to be backup is huge and there is not enough time to do a full backup.
Increment backup also use less disk space.
Cloud backup uses most increment backup for its application.