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:
HII
Explanation:
Who, What, When Where, and Why.
Answer:
umm... I hate to break it to you but this is something you're gonna have to do on your own since the likelihood of someone being in your exact class is very low I mean people could write some random stuff in here but if it doesn't match up with what you learned in class then does it really even matter at that point? your teacher will know you cheated and will probably make you do it from scratch and will check thoroughly to make sure it's your work (if you're in highschool and/or the teacher is nice enough to give you a second chance) or just fail you completely (if you're in college and/or just have a really mean teacher who doesn't give second chances). so I recommend taking the time to do this yourself and not risking the consequences.
Explanation:
Answer:
The answer to this question is given below in this explanation section.
Explanation:
In the relationship model of database a primary key is a specific choice of a minimal set of attributes that uniquely specific a tuple in a relation.Informally a primary key is which attribute and in simple cases are simple a single attribute.More formally a primary key is a choice of candidate key any other candidate key is an alternate key.
A primary key may consists of real word observable in which way it is called natural key,while an attribute created to function as a key and not use for identification outside the database is called a surrogate key.For example for a database of people time and location of birth could be a natural key.National identification number is another example of an attribute that may be used as an natural key.
In Python 3.8:
nums = list(map(int, input("Enter your numbers space separated: ").split()))
print(f"The largest number is {max(nums)} and the average of all the numbers entered is {sum(nums)/len(nums)}")