Home > Back-end >  Questions about novice C
Questions about novice C

Time:11-20

While statement in c + + how can I make him only output the final result, thank you

CodePudding user response:

 
While (u & gt;=v | | v==0)
{
R=u % v;
U=v;
V=r;
}

Cout & lt; <"The greatest common divisor" & lt;

CodePudding user response:

Thanks, problem solved
  • Related