# Implementing a loop based on a flowchart

Advertisements I have problems choosing the initialisation and generally understanding the purpose of this program: I tried following: void main() { int a, b, i = 0; printf("a\n"); scanf("%i",&a); printf("b\n"); scanf("%i\n",&b); } But what loop to choose? >Solution : As you perform the step z = z -b before the check z < 0 a… Read More Implementing a loop based on a flowchart

# Flowchart in python age calculation

Advertisements I’ve got given this homework and in it I need to convert a simple flowchart into python, but I am stuck on this one bit. I need to calculate the future age but I don’t know how to any help with this would be nice, thanks in advance.FLOWCHART IMAGE This is what I’ve already… Read More Flowchart in python age calculation

# How to check if user has logged in for the first time in react js

Advertisements So I’m building a school matching website where users fill out a form and get matched with someone with similar information. I’ve completed the login and registering section. If a user registers and then logs in for the first time they should have a form to fill out. But if they’re coming back and… Read More How to check if user has logged in for the first time in react js