CSPrograms4u
Nothing Succeeds Like Success
Home
About
C
Programs
Numbers
Patterns
Conversions
C Practical File
PPTs
CPP
Programs
PPTs
CG
Programs
PPTs
DS
Programs
PPTs
Python
Programs
Java
Programs
PPT
Practical File
C#
Programs
PPTs
VB
Programs
PPTs
VB 2010
Programs
PPTs
Tuesday, 3 April 2018
Development of Table using for loop
//Table formation using for loop
#include<stdio.h>
#include<conio.h>
void main()
{
int i,n;
clrscr();
printf("\n\nTable for\n");
scanf("%d",&n);
printf("Table is\n");
for(i=1;i<=10;i++)
{
if(i!=10)
{
printf("%d * %d = %d\n",n,i,n*i);
}
else
{
printf("%d * %d = %d\n",n,i,n*i);
}
}
getch();
}
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Total Pageviews
Popular Posts
Programming in CG Using C
Following are some Computer Graphics Programs using C Language :- 1. Different Mathematical Shapes ( Program ) 2. Bar Chart Step by...
List of Python Programs
List of Python Programs 1. Compute sum, subtraction, multiplication, division and exponent of given variables input by the user. ( Theo...
Python Program : 1 : Compute sum, subtraction, multiplication, division and exponent of given variables input by the user.
PROGRAM : - a = int(input("Enter First integer value : ")) b = int(input("Enter Second integer value : ")) print("S...
Designing of Cylinder using Applets in JAVA
import java.applet.Applet; import java.awt.*; public class Graph4_Cylinder extends Applet { public void paint(Graphics g) ...
No comments:
Post a Comment
Note: only a member of this blog may post a comment.