kzak | KZAK is a web-based jukebox | Database library
kandi X-RAY | kzak Summary
kandi X-RAY | kzak Summary
KZAK is a web-based jukebox.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kzak
kzak Key Features
kzak Examples and Code Snippets
Community Discussions
Trending Discussions on kzak
QUESTION
Below code is counting a final amount of students in a school and average amount of students in a class.
It's running the code until the user types "0".
How can I ensure that the "0 class" won't be counted as an additional class? Currently I am achieving it by subtracting -1 from B, but it's not an elegant solution - calculation is correct, but the class is still listed in final MsgBox
.
Btw, if I wanted to end the loop when user is leaving the cell empty, what should I do? Simple Loop Until Zak = ""
doesn't work.
Many thanks,
...ANSWER
Answered 2018-Nov-05 at 19:47A common approach to this is to ask first, and then test with a Do While
instead of a Loop Until
, and then ask again. Something like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kzak
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page