Answer:
To create table g
Go to insert tab
Choose Table option at left corner and measure the table box.
Table is created in Microsoft.
Answer:
brainly
Explanation:
cuz yeah its the best app ever tbh
Answer:
// here is code in c.
#include <stdio.h>
// main function
int main()
{
// variable to store year
int year;
printf("enter year:");
// read the year
scanf("%d",&year);
// if year>=2101
if(year>=2101)
{
printf("Distant future");
}
//if year in 2001-2100
else if(year>=2001&&year<=2100)
{
printf("21st century");
}
//if year in 19011-2000
else if(year>=1901&&year<=2000)
{
printf("20th century");
}
// if year<=1900
else if(year<=1900)
{
printf("Long ago");
}
return 0;
}
Explanation:
Read the year from user.After this, check if year is greater or equal to 2101 then print "Distant future".If year is in between 2001-2100 then print "21st century".If year is in between 1901-2000 then print "20th century".Else if year is less or equal to 1900 then print "Long ago".
Output:
enter year:2018
21st century
Answer:
Replace /* Your solution goes here */ with:
<em>System.out.println(randGen.nextInt(49) + 100);</em>
<em>System.out.println(randGen.nextInt(49) + 100);</em>
<em />
Explanation:
Required
Statements to print two random numbers between 100 and 149 (both inclusive)
First, the random numbers must be generated. From the template given, the random object, randGen, has been created.
The syntax to then follow to generate between the interval is:
<em>randGen.nextInt(high-low) + low;</em>
Where:
high = 149 and low = 100
So, the statement becomes:
<em>randGen.nextInt(149 - 100) + 100;</em>
<em>randGen.nextInt(49) + 100;</em>
<em />
Lastly, print the statements:
<em>System.out.println(randGen.nextInt(49) + 100);</em>
<em>System.out.println(randGen.nextInt(49) + 100);</em>
<em />