How we print the table of 2 using for loop in c
programing?
Answer Posted / naresh
#include<stdio.h>
int main(void)
{
int a=2,c;
for(c=1;c<=10;c++)
{
printf("%4d",a*c);
}
return 0;
}
Is This Answer Correct ? | 12 Yes | 7 No |
Post New Answer View All Answers
How can you relate the function with the structure? Explain with an appropriate example.
Write a program to model an exploding firecracker in the xy plane using a particle system
#include
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
Design an implement of the inputs functions for event mode
could you please send the program code for multiplying sparse matrix in c????
write a program for area of circumference of shapes
To Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates. String contains only lowercase characters ['a'-'z']
Cluster head selection in Wireless Sensor Network using C programming language.
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
What is full form of PEPSI
how to test pierrot divisor
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
How do you verify if the two sentences/phrases input is an anagram using predefined functions in string.h and by using arrays?
Sir... please give some important coding questions asked by product companies..