JPDev@programming.dev to Programmer Humor@programming.dev · 8 months agoExam Answerprogramming.devimagemessage-square176fedilinkarrow-up1798
arrow-up1798imageExam Answerprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 8 months agomessage-square176fedilink
minus-squarenathanjent@programming.devlinkfedilinkarrow-up6·8 months agoWhat is the type of the variable day though? As it is we have to make multiple assumptions, based on popular programming languages, about the internals of the string type and the print function to assume that it prints “6”.
minus-squareripcord@lemmy.worldlinkfedilinkarrow-up9·8 months agoThere is a fairly good chance that there has been more info presented in the class than we have been given here.
minus-squaremorrowind@lemmy.mllinkfedilinkarrow-up1·8 months agoThat’s the variable name, not the type
What is the type of the variable
day
though? As it is we have to make multiple assumptions, based on popular programming languages, about the internals of thestring
type and theprint
function to assume that it prints “6”.There is a fairly good chance that there has been more info presented in the class than we have been given here.
deleted by creator
That’s the variable name, not the type