Answer:
Check the explanation
Explanation:
#include <iostream>
using namespace std;
void hex2dec(string hex_num){
int n = 0;
//Loop through all characters in string
for(int i=0;i<hex_num.size();i++){
//take ith character
char c = hex_num[i];
//Check if c is digit
if(c>='0' && c<='9'){
n = 16*n + (c-48);
}
//Convert c to decimal
else{
n = 16*n + (c-55);
}
}
cout<<hex_num<<" : "<<n<<endl;
}
int main()
{
hex2dec("EF10");
hex2dec("AA");
return 0;
}
The Output can be seen below :
HTML stands for Hyper Text Markup Language. It is the most commonly language used for <span>creating web pages and web applications. </span>
<span>The correct HTML element for playing video files is <video>.
</span>
To show a video in HTML, use the <video> element:
Example:<span><video<span> width="320" height="240" controls</span>></span>
<span><source<span> src="video 1.mp4" type="video/mp4"</span>></span>
<span><source<span> src="movie.ogg" type="video/ogg"</span>></span>
<span></video<span>></span></span>
A- overusing highlights lowers the contrast and degrads the effect of the highlights.