Answer:
they represent values 10 to 15
Answer:
// This program is written in C++
// Comments are used for explanatory purpose
// Program starts here
#include<iostream.h>
#include<stdlib.h>
int main()
{
// Declare variables
int num, selectno;
string status;
randomize();
//Generate random number;
num=rand()%10000;
// Prompt to guess a number
cout<<"You have only 10 tries\nTake a guess: ";
int tries = 0;
while (tries != 10)
{
cin>>selectno;
if(selectno == num){
cout<<"You passed at the "<<count+1<<" attempt";
tries = 10;
}
else
{
cout<<"You failed. Take another guess\n You have "<<10 - count + 1 <<" attempts";
}
tries++;
if(tries >= 10)
{
break;
}
}
return 0;
}
Answer:
A. <Title> tag
Explanation:
Required
Tag that can be written in the <head> element
Of the given options, <title> is correct.
This is so because, it is compulsory to have the <title> tag and the only location where it can be placed is inside the <head> tag.
Its function is to display the title of a page
e.g.
<em><title> This is my first page </title></em>