If you have a cellular device you can have data, but that is digital data. Data is basically just information that has been recorded.
Answer:
The complete "if statement" is given below;
<u>1st Method:</u>
<u>using if else statement</u>
If (amount1>10 && amount2<100)
{
If(amount1>amount2)
system.out.println(amount1);
}
else
{
system.out.println(amount2);
}
}
<u>2nd Method:</u>
<u>using conditional statement</u>
if(amount1 > 10 && amount2 < 100)
{
System.out.println(amount1 > amount2 ? amount1 : amount2);
\\conditional statement shows if amount1 is greater than amount2 it means the statement is true so it will show the true value i.e. amount1. But if amount1 is less than amount2 then the statement is false so it will show the false value i.e. amount2
}
<u></u>
Heya Friend ,
___________________
___________
The answer is C.
by this u can never miss any updates.
hope this helps.
___________________
________________________________
Highways, general education, food stamps and general welfare
Answer:
#include <iostream>
#include <string>
using namespace std;
int main() {
string mth;
int dy;
cin >> mth >> dy;
if ((mth == "January" && dy >= 1 && dy <= 31) || (mth == "February" && dy >= 1 && dy <= 29) || (mth == "March" && dy >= 1 && dy <= 19) || (mth == "December" && dy >= 21 && dy <= 30))
cout << "Winter" << endl;
else if ((mth == "April" && dy >= 1 && dy <= 30) || (mth == "May" && dy >= 1 && dy <= 30) || (mth == "March" && dy >= 20 && dy <= 31) || (mth == "June" && dy >= 1 && dy <= 20))
cout << "Spring" << endl;
else if ((mth == "July" && dy >= 1 && dy <= 31) || (mth == "August" && dy >= 1 && dy <= 31) || (mth == "June" && dy >= 21 && dy <= 30) || (mth == "September" && dy >= 1 && dy <= 21))
cout << "Summer" << endl;
else if ((mth == "October" && dy >= 1 && dy <= 31) || (mth == "November" && dy >= 1 && dy <= 30) || (mth == "September" && dy >= 22 && dy <= 30) || (mth == "December" && dy >= 0 && dy <= 20))
cout << "Autumn" << endl;
else
cout << "Invalid" << endl;
return 0;
}
Explanation: