Answer:
#include <iostream>
using namespace std;
int main()
{
cout<< rand() % 50 + 100 <<endl;
cout<<rand() % 50 + 100 <<endl;
return 0;
}
Explanation:
The rand() gives you a random number. If you use rand() % 50, it will give you a random number between 0 and 49. Since we are required to have the numbers between 100 and 149, add 100 to this expression. This way, you will have a random number between 100 and 149. Type this expression two times and use "endl" to end with a new line.
Answer:
compromise should be demonstrated
First is it to always clean out all the junk that is left
behind by the operating system and the browsers. You can easily do this using
the Disk Cleanup utility included on the windows systems. You can clean up the registry. However, you should be very careful with the registry. Any wrong move might mess up everything
Search and destroy viruses and malware on your PC by
installing an anti-virus security program and setting up an automated
maintenance schedule.
Defragment main and partitioned drives to keep your computer
running smoothly.
Uninstall software programs and personal files like
pictures, movies and music that are no longer in use to free up more space. The
more the space, the faster the PC will go. You can also run the msconfig
command in the RUN command prompt to uncheck start up programs that you do not
use
Answer:
Option c is correct.
Example :
public class Subject
{
public static void main(String [] args)
{
int ar[]={5,4,6,7,8};
System.out.println("the number of array elements are: ",ar.length);
}
}
Explanation:
The above program is created in java language in which Subject is a class name.Inside Subject class , there is main method.
Inside the main method, there is An array named 'ar' which data type is an integer and we have assigned the value to this array.
in the next line, we are printing the total no. of the element in the array with the length function which displays the length of an array or variable.
Answer:
The answer is (c) paid media
Explanation:
Because they are paying for the ad to be displayed online. hope this helps!