Answer:
Check the explanation
Explanation:
arrow_base_height = int(input('Enter arrow base height:\n'))
arrow_base_width = int(input('Enter arrow base width:\n'))
arrow_head_width = arrow_base_width
while arrow_head_width <= arrow_base_width:
arrow_head_width = int(input('Enter arrow head width:\n'))
print()
for i in range(arrow_base_height):
for j in range(arrow_base_width):
print('*', end='')
print()
for i in range(arrow_head_width):
for j in range(arrow_head_width-i):
print('*', end='')
print()
Kindly check the code output below.
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 :
C is likely the best answer here.
Lsass.exe /................................................
Answer:
Desktop can't move easily, not portable. Laptop very portable.
Explanation: