acctualy i am prepring for my exams and not able to write the input of ques if u have done c programing in computers then plz tell me the syntax(input) of this ques. output i will find through "turbo c+=" so the question is ""write a programe to accept a number and then print it table upto 10(plz it should be done using while loop)"" plz i am in 9 got help
Hey plz plz help me if ques not clear email mecyrusmill@yahoo.com?
Simple.
#include%26lt;stdio.h%26gt;
#include%26lt;conio.h%26gt;
main()
{
int i,n,c=1;
clrscr();
printf("Enter the no: ");
scanf("%d",%26amp;n);
while(c%26lt;=10)
{
printf("%d x %d = %d",i,n,i*n);
c++;
}
getch();
}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment