N 10*N 100*N 1000* N
1 10 100 1000
2 20 200 2000
3 30 300 3000
4 40 400 4000
5 50 500 5000
6 60 600 6000
7 70 700 7000
8 80 800 8000
9 90 900 9000
10 100 1000 10000


Hi,

#include<stdio.h>


int main()
{
int i;
for(i=1;i<=10;i++)
printf("%d, %d, %d, %d",i,i*10,i*100,i*1000);

}

Recommended Answers

All 7 Replies

Ok, nice code, but what is your question?

Write a program that utilizes looping to print the following table of values?

That's not a question -- its just a statement of your homework. You posted code, so what do you want to know about it.

already got it working. thanks

already got it working. thanks

Great :) See that wasn't so hard was it ?

whats the answer? help me :(

We will be happy to help you if you post the code you have written so far.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.