Programming WID MEE
Here you can learn how to solve a problem in many different prg language..
Hi guys if have want any program you can share with us...will try to provide the solutions asap.
TO CHANGE THE LOWERCASE INTO UPPERCASE AND VICE VARSA WITHIN A STRING:==
class mte12
{
public static void main(String a[])
{
String s=new String("AvIN");
int l=s.length();
byte av[]=new byte[l];
av=s.getBytes();
int i;
for(i=0;i=65 && av[i]
TO REVERSE THE STRING:--
class mte11
{
public static void main(String ar[])
{
String s=new String("avinash");
int a=s.length();
char arra[]=new char[a];
arra=s.toCharArray();
int i;
for(i=0;i=0;i--)
{
sa[j]=arra[i];
j++;
}
s=new String(sa);
System.out.println(s);
}
}
SJF with arrival time
int main()
{
int n;
int i,j;
printf("enter how many process u want ");
scanf("%d",&n);
int a[n];
int p[n];
int w[n];
int e[n]=0;
int b[n];
int temp,t;
for(i=1;i
IMPLEMENTING ROUNDROBIN SCHEDULING CONSIDERING ARRIVAL TIME......................................................................
int main()
{
int i,temp,ts,n,sq=0,count=0;
printf("enter number of processes : ");
scanf("%d", &n);
int a[n],b[n],e[n],s[n],st[n],w[n],ar[i],j,tmp,p[n];
printf("nenter burst time for processes ");
for(i=0; i
Click here to claim your Sponsored Listing.
Category
Contact the school
Telephone
Website
Address
Jalandhar
144402