do-while input validation within array for loop

I’m currently working on an assignment where I have to ask the user to input 5 Blood Pressure readings within a certain range (>=40 and <= 100). I’m trying to create an input validation using a do-while loop within the for loop that scans those inputs to an array. While I am getting an error… Read More do-while input validation within array for loop

unable to get a do-while loop working inside an if-else statement using google appscript

I’m trying to achieve the following: Get appscript to recognise the latest csv file within a folder in google drive. Once it does recognise it, it will import the file into google sheets. If a file has been previously uploaded to the sheet, appscript should upload the new lines below the currently existing lines. remove… Read More unable to get a do-while loop working inside an if-else statement using google appscript

Why is my do-while loop not producing the same results as my for & while loops?

I’m trying to write the same loop to calculate the sum of the integers from 1 to the input value, and output the sum 3 different ways, and so far I’ve completed my for and while loops correctly, and had them output the same result. However, for some reason my do-while loop isn’t working properly,… Read More Why is my do-while loop not producing the same results as my for & while loops?