/*Demonstrate the for loop.*/
/*Save file as: ForTest.java*/
class ForTest
{
public static void main(String args[])
{
int x;
for(x = 0; x<10; x = x+1)
System.out.println("This is x: " + x);
}
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
class ForTest
{
public static void main(String args[])
{
int x;
for(x = 0; x<10; x = x+1)
System.out.println("This is x: " + x);
}
}
#include<stdio.h>
#include<conio.h>
void main()
{
int fahr, celsius;
clrscr();
printf("enter fahrenhiet tempreture");
scanf("%d",&fahr);
celsius = 5 * (fahr-32) / 9;
printf("%d",celsius);
getch();
}