subject

Me dicen cómo hacer este programa en lenguaje C?: "leer 10 numeros enteros y decir cuantos terminan en 7"

yo no se cómo hacerlo, por el momento se me ocurre esto, pero no se si esta bien encaminado:

#include <stdio. h>
#include <stdlib. h>
int main()
{
int i, num, cont=0;

for(i=0;i<=10;i++)
{
printf("ingrese un numero:");
scanf("%d", &num);
}
if(i%num==7)
cont=cont+1;
else
{
printf("ingrese un numero:");
}
printf("la cantidad de numeros que terminan en 7 es: %d", cont);

return 0;
}

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 03:00
You install teamviewer on your workstation at home so that you can ac ess it when on the road. how can you be assured that unknown users cant access your computer through team viewer?
Answers: 2
question
Computers and Technology, 22.06.2019 11:30
Andrina writes letters that are regularly sent to hundreds of her company’s customers. because of this, she would like for the mail merge command to be in her quick access toolbar, and she wants it to be the first button on the left. what should andrina do to place the mail merge button there?
Answers: 1
question
Computers and Technology, 23.06.2019 08:30
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
You know the right answer?
Me dicen cómo hacer este programa en lenguaje C?: "leer 10 numeros enteros y decir cuantos termina...
Questions
question
Mathematics, 22.04.2020 00:42
question
Mathematics, 22.04.2020 00:42
question
Mathematics, 22.04.2020 00:43
Questions on the website: 13722363