Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  Funk neurotico by hamilton
Language: C/C++
Code:
#include <stdio.h>
int main(void)
{
int x,qmenor,maior,cont;
while(cont<8)
{
 cont=0,qmenor=0;
 printf("Digite um numero");
 scanf("%d", &x);
 if(x<=99){
 if(x<10){
 qmenor++;
 cont++;
 }}
 else{
 qmenor=qmenor;
 cont++;
 }
 else{
 cont--;
 cont++;
}}

printf("Quantidade menor que 10: %d", qmenor);

     system("pause");
     return 0;
}
          
Comments: