Articles
Register
Sign In
Search
brunandrade95
@brunandrade95
February 2021
0
6
Report
Meu programa esta retornando 0 o que esta errado?
#include
int main (void)
{
int v, n, m;
scanf("%d", &v);
scanf("%d", &n);
scanf("%d", &m);
while (v!=0 && n!=0 && m!=0){
if (n%10000 == m%10000)
v=v*1000;
else
if (n%1000==m%1000)
v=v*100;
else
if (n%100==m%100)
v=v*10;
}
printf ("%d", v);
}
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms and service
You must agree before submitting.
Send
×
Report "Meu programa esta retornando 0 o que esta errado? #include int main (void) { int v, n, m; scanf(".... Pergunta de ideia de brunandrade95"
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
Sobre nós
Política de Privacidade
Termos e Condições
direito autoral
Contate-Nos
Helpful Social
Get monthly updates
Submit
Copyright © 2024 ELIBRARY.TIPS - All rights reserved.