Computer Science, asked by rajivk7980, 3 months ago

write down the program using for statements? ​

Answers

Answered by Anonymous
19
  1. C Program: Print table for the given number using
  2. C for loop
  3. #include<stdio.h>
  4. int main(){
  5. int i=1,number=0;
  6. printf("Enter a number: ");
  7. scanf("%d",&number);
  8. for(i=1;i<=10;i++){
  9. printf("%d \n",(number*i));

Answered by vijaysuman1987
0

Answer:

class Hello

{

public static void main(String[]args)

{

System.out.println("Hello World");

}

}

Similar questions