How we print the table of 2 using for loop in c
programing?
Answer Posted / anil kumar nahak
#include<stdio.h>
#include<conio.h>
void main()
{
int num=2,r;
clrscr();
printf("\n The Table Of Number Two \n");
for(r=1;r<=10;r++)
{
printf("\n %d * %d = %d",num,r,num*r);
}
getch();
}
| Is This Answer Correct ? | 333 Yes | 93 No |
Post New Answer View All Answers
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..
how to test pierrot divisor
How can you relate the function with the structure? Explain with an appropriate example.
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines
What is the difference between proc means and proc tabulate ? explain with a simple example when you have to use means or tabulate?
What is full form of PEPSI
how to create a 3x3 two dimensional array that will give you the sums on the left and bottom columns
Write a routine to implement the polymarker function
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 the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
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
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']
could you please send the program code for multiplying sparse matrix in c????
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.