Answer:
num = int(input("Enter a number: "))
print(num * 8)
Explanation:
I highlighted the parts that are added
Since you are getting an input from the user, you need to set the result to a variable. In this case, it is num.
Since it is a number, you need to specify the its type. In this case, it may be int.
Also, the quotation marks must be written as seen.
Yes there's syntax error .
After if there's colon so the next line or code block should start after some spaces(min 4)
The correct code is
Begin
input value,
int a =value;
if a >=8 Or a<=15;
cout<<"Nice to see you!";
else
cout<<"Its time to go home!";
return 0;
End
To move the arrow faster I think.