Saturday, April 12, 2014

By Amanda Bean


Caitlin Crawford is known to be a student who got to intern with the Dallas Cowboys. Now this type of opportunity does not come to people everyday and it is in fact extremely rare that they would accept any interns. Of course she was somehow able to find a way to make herself stand out from all the other interns applying so that she could get it.

For the people who do not know about miss Crawford, she is a students that is currently studying in the University of Oklahoma and was born in Dallas. She is majoring in broadcasting and media studies. In her whole stay in college, that one highlight in her entire college life was known to be her collaboration with the media team of the Dallas Cowboys as she had always been a big fan.

Now what happened during that time was that she sent in her resume to the media department for her summer internship. Inevitably, she was chosen as an intern who would help in the media department when it comes to the footage. When she first started, her main duty was to edit some videos that were shot during the games at the Cowboys stadium.

As she continued working, naturally her duties also began to become more and more. From just editing footage, she was tasked to do some features of other events that were held in the Cowboys stadium. She even worked with the media department in covering the Dallas Cowboys cheerleader audition wherein she was able to shoot the audition and also edit the footage.

Other things that she did during that time was that she helped with the operations of the cameras on the set. She also assisted the media teams that covered the behind the scenes footage of certain events that happened in the stadium. Other than that, she even had the chance to help with some of the marketing projects of the department that she was with.

Now after her first summer with the Dallas Cowboys media team was over, miss Crawford was still invited over the holidays to help with some of the projects at hand. Miss Crawford was still tasked to help with the footage of featured events in the stadium and the editing of videos. During the second summer, she was once again asked to work there again.

During her second summer, she attended some camps wherein she even further honed her skills as a broadcaster. She even produced and reported certain features daily and even interviewed players. She even had the very rare chance to create player biographies, fan interviews, and even more coverage than she did during her first summer working in the Cowboys stadium.

Now it was because of the passion and skills of miss Caitlin Crawford that she got the internship. Because of this event in her life, she was able to further hone all of her skills and learn a lot from the media department. For a young student like her, this was definitely a once in a lifetime chance.




About the Author:



Read More..
Q. Write an interactive program to calculate compound interest.

Ans.

/*c program for calculate compound interest*/
#include<stdio.h>
#include<math.h>
#include<conio.h>
int main()
{
 float p,rate,time,ci;
 printf("Enter principal amount : ");
 scanf("%f", &p);
 printf("Enter interest rate : ");
 scanf("%f", &rate);
 printf("Enter time period in year : ");
 scanf("%f", &time);
 //calculate ci
 ci=p*(pow((1+rate/100),time)-1);
 printf("
Compound interest = %f"
,ci);
 return 0;
}

Output :-

Enter principal amount : 48500
Enter interest rate : 6
Enter time period in year : 2
Compound interest = 5994.600098

You might also like:
  1. Simple Interest C Program
Read More..
By Tiffany Gill


It is only normal for businesses to have a project management software for construction. With this solution, it will be easy to optimize business processes. To be able to do this, one might want to consider starting a needs analysis first. This means that one has to determine what kind of collaboration will be needed in this business.

Consider the use of a cloud-based service. There are a lot of people who prefer this option because of several factors. A good example for that is related to the overall cost for ownership. The person can save thousands of dollars because of this business solution. It is also the kind which takes pride in its ease of deployment.

Since the person is looking for this solution, it might beneficial to look for practical or easy-to-use ones. It is even more preferable if the said solution is both intuitive and in-line with what business processes one plans to use this solutions for. If the person cannot find this solution, then find one which actually contains built-in custom fields that can be renamed.

It is surely a better choice for the individual to have a solution that can scale. In a more elaborate term, the chosen solution should be the kind which will grow with the business. After all, this is the kind of solution that is expected to last for a long period of time. The features should be able to carry on even in the future.

Do not limit the involvement of personnel for the selection of the said solution to the higher ups. It is still better to solicit input from other departments or people who are going to use the said solution. The said solution should have a good overall fit, after all. Including everyone in the selection process makes this possible.

Another thing that the person will have to ensure is that this solution should be easy to integrate with various core apps such as email. Most businesses or organizations will actually use this as their primary factor when they make the decision. After all, they can optimize the processes of the business or organization with this.

Remember that there is quite a number of solutions available in the market. The person should then take note of the best choices and make a proper comparison of them. To be able to compare them to one another, better have a checklist that will act as guide to be able to find the one which will fit perfectly with ones business.

Before starting the selection of this solution, it will be useful for the owner to think about establishing a proper goal first. This goal will become the primary factor that one has to think about before finalizing ones decision. It is important that the said solution can easily achieve the goal that one established beforehand.

Training everyone on how to use this project management software for construction is a must. Everyone should show up during the training so that they can have a fair idea on what they have to do to be able to take advantage of this solution. It will also help optimize business processes.




About the Author:



Read More..

Friday, April 11, 2014

Q. Write a C program to convert Meter to Inch and Inch to Meter.

Ans.

keep in mind:

1 Meter = 39.37 Inch
1 Inch  = 0.025 Meter

/*c program for convert meter to inch and vice-versa*/
#include<stdio.h>
int main()
{
 int ch;
 double meter,inch;
 printf("
Enter 1 for convert Meter to Inch."
);

 printf("
Enter 2 for convert Inch to Meter."
);

 printf("
Enter 0 for exit."
);

 printf("

Enter your choice : "
);

 scanf("%d", &ch);
 switch(ch)
 {
  case 1:
    printf("
Enter value in Meter: "
);

    scanf("%lf", &meter);
    inch = (39.37) * meter;
    printf("
-- Convert Meter to Inch --
"
);

    printf("
%lf meter = %lf Inch"
,meter,inch);

    break;
  case 2:
    printf("
Enter value in Inch: "
);

    scanf("%lf", &inch);
    meter = (.025) * inch;
    printf("
-- Convert Inch to meter --
"
);

    printf("
%lf Inch = %lf Meter"
,inch,meter);

    break;
  case 0:
    goto exit;
  default:
    printf("
You enter invalid options."
);

 }
 exit:
 return 0;
}


The output of above program would be:


Output of convert Meter to Inch C program
Figure: Screen shot for
convert Meter to Inch C program


Output of convert Inch to Meter C program
Figure: Screen shot for 
convert Inch to Meter C program
Read More..
Q. Write a C program that create a singly linked list.


Ans.


/*c program for creating singly linked list*/
#include<stdio.h>
#include<conio.h>
struct single_link_list
{
  int age;
  struct single_link_list *next;
};
typedef struct single_link_list node;
node *makenode(int );
int main()
{
  int ag;
  node *start,*last,*nn;   //nn=new node
  start=NULL;
  while(1)
  {
     printf("Enter your age : ");
     scanf("%d",&ag);
     if(ag==0)
        break;
     nn=makenode(ag);
     if(start==NULL)
     {
        start = nn;
        last = nn;
     }   
     else
     {
        last->next = nn;
        last = nn;
     }
  }
  printf("
****Single linked list****

"
);

  for(; start!=NULL; start=start->next)
     printf("%d ",start->age);
  getch();
  return 0;
}


/*creation of node*/


node *makenode(int tmp)
{
  node *nn;
  nn = (node *)malloc(sizeof(node));
  nn->age = tmp;
  nn->next = NULL;
  return nn;
}

/**************** OUTPUT *****************/
Singly linked list


Related post:
  1. What is linked list in C?
  2. Traversing the list
  3. Search item in linked list
  4. Insert an item
  5. Deleting an item
  6. All linked list operation in program
Read More..

Thursday, April 10, 2014

In a comment to a previous post Isaac Raway wrote: "I see that you note youre going to change the syntax for controlling widgets in the new basic youre working on. Awesome! This may actually make me want to switch to LB as my main platform--maybe."

Im glad to hear this. The new LB is coming along nicely now.

Isaac continues: "However Im a bit concerned. Ive seen this sort of "redevelopment" happen before, and often times it comes with a higher price tag. One of the strong points of LB I think is that it is truly useful but very inexpensive. I think youre the kind of person who realizes that though, so I have faith youll keep it affordable."

Well, youre right. Pricing is a marketing issue and it isnt always clear whether to raise or lower prices. I cant promise that I will never raise the price of Liberty BASIC (in fact Ive done it before) but I am committed to keeping it affordable. Many times I get feedback that LB is too inexpensive and that I should raise the price, so you see this is not a simple matter to determine.

Also remember that now we have a free BASIC (http://www.justbasic.com).
Read More..

Sizeof operator calculate the size of data i.e. how many bit a specific data having.

Syntax of sizeof operator :

printf("<format string>",sizeof<(data type variable)>);


 /*Program to sizeof operator*/
 #include<stdio.h>
 #include<conio.h>
 void main()
 {
  int x=10;
  clrscr();
  printf("
Size of  x is %d"
,sizeof(x));
  getch();
 }


  Output of above program :

  Size of x is 2 


We read in data type chapter that an int allocate only 2 byte in memory,Hence, x = 2.

Read More..

Wednesday, April 9, 2014

By Jerri Perry


Buying quality tracking products is quite easy nowadays. There are many stores selling the said product, after all. The buyer just needs to find the said stores so that one can make the purchase. For those people who are trying to find the said stores, here are some of the steps that might come in handy in this case.

First of all, the buyer should look for a general merchandise store specializing in this kind of product sale. There should be at least one or two stores around that the buyer can find and make an order at. It will make it easier for the buyer to make a purchase at a general merchandise store since they have a higher chance of having the product in their inventory.

There are times when people can also go for an online purchase. They should be able to take advantage of the existence of e-commerce sites nowadays. There are a number of e-commerce sites that offer reliable and safe business transactions between the seller and buyer. Pick the ones that are trustworthy.

For those who already have an item that they want to purchase, they should make sure to decide better on which store they will visit. There are also some factors to consider when they are buying this item. Here are some of the things that people will have to think about when they are making this purchase.

The first thing that the person will have to do is to pick the right store. They have to make sure that the store they are going to has a positive reputation in this industry. If they have a positive reputation, then they can surely provide quality merchandises. The more reputable a company is, the better it will be for the person.

It should be lucky for a person to find a company with a positive reputation. However, it will be another matter when it comes to the item itself. Make sure that the item really has the quality that it is boasting of. When it is made with quality, it will mean that the item is durable as well. It can be useful for a long time.

The item should have all the necessary features that one requires. When the person finds the item with the required functions, it will surely optimize the money used in the purchase. Of course, one should make sure not to buy those products that do not have the functions that one wants. That will just be a waste of money.

The merchandises price should be inspected. This is so that the person can determine whether the budget is enough for ones choice or if it is better to look for another option. Another thing that they have to ensure is that they are buying the merchandise at an affordable price but without having to compromise its quality.

There should still be a number of tips that one has to pay attention to. This is the best way to ensure that the person is making the most out of this purchase. With this, one can surely optimize the use of the purchased tracking products.




About the Author:



Read More..
By Jayne Rutledge


You will find invariably a substantial amount of rewards that will come with the cloud computing providers Chicago. Hence without regard to your online business measurement, nonetheless the countrys essential to do not forget- as the media hype around the most current computing development may be rationalized, . It is also printed which has a superior couple negative details.

Impressed by the online migration success tales of various organizations, many businesses have moved their processes and operations onto a online network or are contemplating such a move. You may additionally be gearing as much as migrate to a online surroundings. All that remains to do is convincing the CFO and CEO of the impressive Returns on Investment.

What is likely a lot more demoralizing is certainly for anybody who is network is definitely functioning over time, you are works visiting turn out to be going little by little much too. Even while deficit of a difficult get is actually a benefit in regards to computer rates. It can also be a fabulous negative aspect back to you if you utilize applications that count on some sort of hooked up hard drive.

While that is getting to be significantly less of the difficulty, you can actually nonetheless discover yourself to be trouble hoping to get systems to connect to the hard drive in your far off server. At this point is among the most biggies. At the same time you can find almost all peripheral appliances having cell capacities, linking all the cordless about what is normally comfortably the particular cellular, is absolutely not the simplest for assignments.

You will likely get problems with personal equipment on a lesser dimensions nevertheless more prominent firms. The second subject will be software package. A lot of systems will managed with application intended to connect especially into the HOME PC which means. When you might be able to entry your online company accounts because of anywhere, you will solely be able to print or scan accessories from your COMPUTER using the programs fitted.

The Security of the online should be considered greatly. Any company that moves to a online needs to assure that security of their system, data and information about their company is secure in the online environment. Security should be provided at all levels of infrastructure. Today, hiring a online computing company is very crucial. Each of them provides intelligent system which consists of several advantages of online businesses. Online computing services are recommended if you are thinking to run your company at lower costs and need more resources or if you have a limited amount to start.

It is really all of the system or nothing is the fact. Online bills likewise run in to the info centers that have to pay pertaining to new software package. This could basically manage that impair combined with redesign, rewire, pay for brand-new equipment to maintain way too.

This may go for a tiny bit difficult to understand since many impair providers should have various stipulations in regard to title connected with files. It is important to carry out if you are stepping into all the online is to browse the small print. Therefore figure out things like any time you will possess usage of your details in the cloud computing providers Chicago.




About the Author:



Read More..

Tuesday, April 8, 2014

By Bonnie Contreras


It is possible that the experts can an electronic repair shop have the ability to perform a number of tasks. The individuals might be able to complete work on clocks, radios, microwaves, and much more. It is often less expensive to have something fixed rather than to buy a new one. If you have something that you want repaired, there might be a few questions to ask before choosing the professional. These questions may pertain to their ability to work on that particular item and the experience that they have had in the past. Asking about the length of time it will take to finish the job may also be important.

In general, individuals who repair electronic devices are able to fix many types of items. These people may have capabilities to work on clocks, radios, microwaves, and much more. For this reason, you can often drop into such a business and ask them to work on fixing devices of yours that are not working properly. Normally, it is less expensive to have this task completed than to buy a new item.

Because it is important to have the right professionals work on your devices, before giving someone the job, you might want to consider a few things. It may be a good idea to ask them about the type of work they usually do. There are a few categories of electronics that are quite different. Some experts may only work with selected kinds.

There might be different classifications of electronic in terms of the technology that has been used to make them. For this reason, you might want to ask what types of products that the professionals work with. This will ensure that they are able to work on your particular device when you hire them.

In the event that you are not familiar with the shop of interest, it might be a good idea to ask about the credentials. Such details may include the experience of the employees, the education or apprenticeships that the individuals may have completed, or otherwise. This being said, some of the best experts have little formal education but have tremendous skill.

For those of you who have time restraints, it can be a good idea to ask about how long the job will take. Sometimes the best shops take a bit longer simply because they have so much work to do. This aspect may be a good sign as the best professionals rarely have a lot of download time.

If you want some work done quickly, you may want to call the professionals to ask them about this aspect. In fact, you can make your other inquiries in this way as well. Some businesses make appointments with customers but in most cases, they accept jobs that are dropped off without notification as well.

Hiring an electronic repair shop to do some work for you can be a great option. This route is often cheaper than purchasing a new device. Prior to giving the job to someone, you might want to ask if they are able to perform that task and how much experience they have. You can ask about the length of time it will take to do the job as well, if that is important to you.




About the Author:



Read More..
Q. Write a C program to find the numbers and their sum between 100 to 200 which are divisible by 7.

or


Q. Write a C program to accept two randomly number from user and find out the numbers and their sum which are divisible by user entered number.  

Ans.

/*c program for find the number between 100 to 200 which are divisible by 7 and also calculate these number sum*/

#include<stdio.h>
#include<conio.h>
int main()
{

 int n1,n2,div,sum=0;
 printf("Note: First number must be less then to second number

"
);

 printf("Enter first number: ");
 scanf("%d", &n1);
 printf("Enter second number: ");
 scanf("%d", &n2);
 printf("Enter divisor: ");
 scanf("%d", &div);
 printf("Numbers that are divisor by %d :
"
,div);

 for(n1; n1<=n2; n1++)
 {
  if(n1%div==0)
  {
    printf("%d ",n1);
    sum=sum+n1;
  }
 }
 printf("
Sum of numbers that are divisible by %d = %d"
,div,sum);

 getch();
 return 0;
}


/************Output************/


Output of find the number between 100 to 200 which are  divisible by 7 and these numbers sum
Screen shot find the number between 100 to 200 which are
 divisible by 7 and  calculate its number sum C program
Read More..

Monday, April 7, 2014

Q1: Give how to check whether a linked list is circular.

A: Create two pointers, every set to the start of the list. Update every as follows:

while (pointer1) {

pointer1 = pointer1->next;

pointer2 = pointer2->next; if (pointer2) pointer2=pointer2->next;

if (pointer1 == pointer2) {

print ("circular
");

}

}


Q2: OK, why does this work?

If a list is circular, at some point pointer2 will wrap around and be either at the item just before pointer1, or the item before that. Either way, it’s either 1 or 2 jumps until they meet.

How can you quickly find the number of elements stored in a a) static array b) dynamic array ?

Why is it difficult to store linked list in an array?

How can you find the nodes with repetetive data in a linked list?

Write a prog to accept a given string in any order and flash error if any of the character is different. For example : If abc is the input then abc, bca, cba, cab bac are acceptable but aac or bcd are unacceptable.

This is a C question that I had for an intern position at Microsoft: Write out a function that prints out all the permutations of a string. For example, abc would give you abc, acb, bac, bca, cab, cba. You can assume that all the characters will be unique. After I wrote out my function, he asked me to figure out from the code how many times the printf statement is run, and also questions on optimizing my algorithm.

What’s the output of the following program? Why?

#include

main()

{

typedef union

{

int a;

char b[10];

float c;

}

Union;

Union x,y = {100};

x.a = 50;

strcpy(x.b,"hello");

x.c = 21.50;

printf("Union x : %d %s %f
",x.a,x.b,x.c );

printf("Union y :%d %s%f
",y.a,y.b,y.c);

}

Given inputs X, Y, Z and operations | and & (meaning bitwise OR and AND, respectively)

What is output equal to in

output = (X & Y) | (X & Z) | (Y & Z)
Read More..
Problem: How to make Sorting and Searching Program.

Solution

Sorting and Searching is an important task in programming. Here we will see such a C Program. This program is used to sorting and searching a string array. Running this program we will provide names and given names are sorted and searched by the program. Programming code is given bellow→

#include<stdio.h>  
#include<conio.h>
#include<string.h>

  struct name            // Custom Data Type
  {
      char a[10];   
       
   }b [10];                 // Custom data type’s variable


  int N,i,j;
  int c=0;
  char name[10];
  printf("How many names :");
  scanf("%d",&N);  fflush(stdin);
  {
   printf("Enter %d Name :",i+1);
   gets(b[i].a);               
  }

  printf("

Entered name list :");
  {
            printf("
%s",b[i].a);
  }

  {
            for(j=i+1;j<N;j++)
            {
             if((strcmp(b[i].a,b[j].a))>0)
               char temp[10];
               strcpy( temp,b[i].a);
               strcpy(b[i].a,b[j].a);
               strcpy( b[j].a,temp);
             }
   }
  }
  printf("

Sorted name list :");
   {
             printf("
%s",b[i].a);
   }



 printf("

Enter name to search :");
 gets(name);
 {
   if((strcmp(b[i].a,name))==0)
   c++;
 }
 if(c==0)
 {
   printf("%s not found .",name);
 }
 else
 {
   printf("%s remains %d times .",name,c);
 }
 }

Output





Remarks

After giving  name (string) we can see the list of name and then sorted list. When we will give a name and search, we will see that name if it is in array otherwise name not found on the screen. Here strcpy ()  function is used to copy one variable’s value another variable and strcmp() function is used to compare two string. fflush(stdin) is used to flush buffer.


Read More..
Macro without argument example

A #define directive is many a time used to define operators as shown below:

#include<stdio.h>
#define OR ||
#define AND &&
int main()
{
 int p=10,q=20,r=30;
 if((p==10) AND (q<25 OR r>=50))
    printf("You are winner!!");
 else
    printf("You are loser!!");
 getch();
 return 0;
}

The output of above program would be:
Output of using macro in C program
Figure: Screen shot of shows macro uses in C program


A #define directive could be used even to replace a condition as:


#include<stdio.h>
#define OR ||
#define AND &&
#define RESULT ((p==10) AND (q<25 OR r>=50))
int main()
{
 int p=10,q=20,r=30;
 if(RESULT)
    printf("You are winner!!");

 else
    printf("You are loser!!");
 getch();
 return 0;
}

The output of above program would be:
Output of macro C program
Figure: Screen shot of shows macro uses in C program

A #define directive could be used to replace even an entire C statement.

#include<stdio.h>
#define DISPLAY printf("Yes, I got iT");
int main()
{
 DISPLAY;
 getch();
 return 0;
}

The output of above program would be:
Output of using macro in C program
Figure: Screen shot for macro example C program


Macro with argument example

#include<stdio.h>
#define SQUARE(p) (p*p)
int main()
{
 int n,result;
 printf("Enter any number: ");
 scanf("%d", &n);
 result = SQUARE(n);
 printf("Square of %d is %d",n,result);
 getch();
 return 0;
}

The output of above program would be:
Output of macro square C program
Figure: Screen shot of macro square C program


Keep in mind some following point, when you create macro

1. If there are two or more macro expansions then, entire macro expansions should be enclosed within parentheses.
Example:
#define SQUARE(p) p*p  //wrong 
#define SQUARE(p) (p*p)  //right

2. There should be not a blank between the macro template and its argument while defining the macro.
Example:
#define SQUARE (p) p*p  //wrong 
#define SQUARE(p) (p*p)  //right

3. Macro can be split into multiple lines, with a (back slash) present at the end of each line.
Example:
#include<stdio.h>
#define MYPROG for(c=1; c<=10; c++)        
               {                          
                if(c==5)                  
                   printf("Good C blog.");
               }
int main()
{
 int c;
 MYPROG
 getch();
 return 0;
}

The output of above program would be:
Output of macro split C program
Figure: Screen shot for macro split C program


Related article:

Read More..