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