Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

  1. Home >
  2. All Categories >
  3. Computers & Internet >
  4. Programming & Design >
  5. Resolved Question
Rafaela vk Rafaela vk
Member since:
October 29, 2007
Total points:
91 (Level 1)

Resolved Question

Show me another »

Imprimir a tabuada de qualquer número n (n é informado pelo usuário) em c++?

NONAME by NONAME
Member since:
October 14, 2007
Total points:
26 (Level 1)

Best Answer - Chosen by Voters

#include <stdio.h>
void main(void)
{
int n,i;
clrscr();
printf("Digite a tabuada desejada:");
scanf("%d",&n);
clrscr();
for (i=1;i<=10;i++)
{
printf("%d X %d = %d\n",n,i,n*i);
}
printf("\n\nPressione qualquer tecla...");
getch();
}
100% 3 Votes

There are currently no comments for this question.

This question about "Imprimir a tabuada d… " was originally asked on Yahoo! Answers Brazil

Other Answers (0)

No other answers.

Answers International

Yahoo! does not evaluate or guarantee the accuracy of any Yahoo! Answers content. Click here for the Full Disclaimer.

Help us improve Yahoo! Answers. Send Feedback