to rename all files in a folder from 11-42
for /l %f in (10,1,42) do ren *.JPG own.ll.exp%f.JPG
Providing JSP, Servlet, JAVA, JavaScript, HTML, CSS, C#, C++, Python Tutorials
to rename all files in a folder from 11-42
for /l %f in (10,1,42) do ren *.JPG own.ll.exp%f.JPG


public static void main(String[] args){}Kotlin
fun main(args: Array<String>){}
fun main(args: Array<String>): Unit{}
fun main(args: Array<String>): Int{}
print("Hello World")
public class MyClass{
public static void main(String[] args){
System.out.println("Hello World");
}
}
fun main(args: Array<String>){print("Hello World")}
#include<stdio.h>#include<conio.h>int fact(int);void main(){int n,f;clrscr();printf("Enter the limit");scanf("%d",&n);f=fact(n);printf("factorial is %d",f);getch();}int fact(int x){int p;if(x==0)return(1);else{p=x*fact(x-1);}return(p);}
#include<stdio.h>#include<conio.h>#include<string.h>void main(){int n,i,flag=0,j;char a[32];clrscr();printf("enter the string");scanf("%s",a);n=strlen(a);for(i=0,j=n-1;(i<n)&&(j>0);j--,i++){if(a[i]!=a[j])flag=1;}if(flag==1)printf("the string is not palindrom");elseprintf("the string is palindrome");getch();}
#include<stdio.h>#include<conio.h>void main(){int m,n,p,q,i,j,k,a[20][20],b[20][20],c[20][20];clrscr();printf("enter the no of rows & columnsof matrix 1\n");scanf("%d%d",&m,&n);if(m==0||n==0){printf("matrix is not possible");}printf("enter the array elements\n");for(i=0;i<m;i++){for(j=0;j<n;j++){scanf("%d",&a[i][j]);}}printf("enter the no of rows & columnsof matrix 2\n");scanf("%d%d",&p,&q);if(p==0||q==0){printf("matrix is not possible");}printf("enter the array elements\n");for(i=0;i<p;i++){for(j=0;j<q;j++){scanf("%d",&b[i][j]);}}printf("the matrix 1 is \n\n");for(i=0;i<m;i++){for(j=0;j<n;j++){printf("%d\t",a[i][j]);}printf("\n\n\n");}printf("the matrix 2 is \n\n");for(i=0;i<p;i++){for(j=0;j<q;j++){printf("%d\t",b[i][j]);}printf("\n\n\n");}printf("\n");if(n==p)printf("multiplication is possible\n");else{printf("multiplication is not possible");exit(0);}for(i=0;i<m;i++){for(j=0;j<q;j++){c[i][j]=0;for(k=0;k<n;k++){c[i][j]=c[i][j]+(a[i][k]*b[k][j]);}}}printf("product is\n\n");for(i=0;i<m;i++){for(j=0;j<q;j++){printf("%d\t",c[i][j]);}printf("\n\n\n");}getch();}
#include<stdio.h>#include<conio.h>void main(){struct stud{char name[20];int m1;int m2;int m3;int m4;int total;char grade[20];}a[100],temp;int n,i,j ;clrscr();printf("enter no. of students");scanf("%d",&n);for(i=0;i<n;i++){printf("enter details \nname,m1,m2,m3,m4");scanf("%s",a[i].name);scanf("%d%d%d%d",&a[i].m1,&a[i].m2,&a[i].m3,&a[i].m4);a[i].total=a[i].m1+a[i].m2+a[i].m3+a[i].m4;}for(i=0;i<n;i++){for(j=0;j<n-i;j++){if(a[j].total<a[j+1].total){temp=a[j];a[j]=a[j+1];a[j+1]=temp;}}}printf("\nname\tm1\tm2\tm3\tm4\ttotal");for(i=0;i<n;i++)printf(" \n%s\t%d\t%d\t%d\t%d\t%d",a[i].name,a[i].m1,a[i].m2,a[i].m3,a[i].m4,a[i].total);getch();}
#include<stdio.h>#include<conio.h>#include<math.h>int fact(int);void main(){int x,n,k,i;float s=0;printf("Enter x and n");scanf("%d%d",&x,&n);for(i=0;i<n;i++){k=fact(i*2);if(i%2==0)s=s+(float)(pow(x,i*2)/k);elses=s-(float)(pow(x,i*2)/k);}printf("sum is %f",s);getch();}int fact(int a){int f=1,j;for(j=1;j<=a;j++)f=f*j;return(f);}
#include<stdio.h>#include<conio.h>void main(){int n,i,j,k=0;clrscr();printf("Enter the limit");scanf("%d",&n);for(i=2;i<n;i++){for(j=2;j<i;j++){if(i%j==0)k++;}if(k>2)printf(" %d",i);}getch();}
\bbox[5px,border:2px solid red]
{your code here }
8. you may also need some alt code for mathematical purpose like
alt 227 π
alt 504 degree °679º
alt 480 α
alt 481 ß
alt 492 ∞ alt 494 ε alt 496 ≡ alt 499 ≤ alt 504 ° alt 503 ≈ alt 507 √
alt 26 →
alt 27 ← 9.do not forget add this script by clicking HTML instead of compose tab please paste it there
paste it here
<html> <head> <title>MathJax example</title> <script async="" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML" type="text/javascript"> </script> </head> <body> </body></html></div>


