Tampilkan postingan dengan label of. Tampilkan semua postingan
Tampilkan postingan dengan label of. Tampilkan semua postingan

Length of array

Q. Write a C program to calculate the length of a given array.


arr[] = {12, 7 , 9 , 4 , 22 , 63 , 74 , 5 , 1 }


Ans.


/*c program for calculate the length of array*/
#include<stdio.h>
int main()
{
 int arr[]={ 12,7,9,4,22,63,74,5,1 };
 int length;
 length = sizeof(arr)/sizeof(int);
 printf("Length of given array = %d",length);
 getch();
 return 0;
}


/*************** Output *****************/
Screen shot for calculate length of array c program




Related programs:

  1. How to create array in C?
  2. Display array in reverse order
  3. Insert new element in array
  4. Delete an exist element in array
  5. Example of array C program
Read More..

Creation of Liquid Metal Effect


Creation of Liquid Metal Effect in Adobe Photoshop






Read More..

Tiffany Co Celebrates 175 Years As The Jeweler of True Love


The engagement ring as we know it today is the creation of Tiffany & Co., the world’s diamond authority and jeweler of true love. With the introduction of the famous Tiffany® Setting in 1886, founder Charles Lewis Tiffany started a trend that grew into a great tradition.

Previously, diamond rings were set in bezels. But Mr. Tiffany’s ring was designed to highlight the extraordinary beauty of brilliant-cut diamonds. The innovative setting of six platinum prongs lifted the stone off the band and into the light. The combination of stone and setting produces a ring of dazzling charisma, reflecting Tiffany’s reputation for the highest quality diamonds and design excellence.

Over time, more and more couples chose this breathtaking ring as the worthy symbol of their lifelong commitment. To this day, it is the most sought-after symbol of love, with a legacy that has been celebrated in film, art and literature.

The poetry and romance of these great works are wrapped along with the ring in the famous Tiffany Blue Box®. Its presentation signals a magical moment that will linger in memory for a lifetime.

Read More..

Launch of Starbucks Reserve Ultra Premium Coffee At Starbucks RWS

Singapore, 31st May 2013 – Starbucks Coffee Company announced the release of Starbucks Reserve™, in conjunction with the opening of a new outlet at Resorts World Sentosa (RWS). The Starbucks Reserve™ coffees, is available exclusively at RWS where all baristas are certified Starbucks Coffee Masters, which is first among all Starbucks outlets.


Starbucks Reserve™ beans is a line of ultra-premium, single-origin coffeesbeans that will be available on a seasonal basis and in limited quantities. For the launch of Starbucks Reserve™ at the RWS store, Starbucks will offer two types of Reserve™ beans:

  • Isla Flores Indonesia: An elegant interplay of maple and butterscotch with woodsy evergreen notes.
  • West Java Indonesia: A sweet, herbal complexity with a silky milk chocolate flavor and texture.





Starbucks at RWS will be using two of the world’s best coffee preparation methods - the French coffee press and pour-over to deliver the flavor nuances and unique characteristics of these ultra-premium coffees.
Pricing & Availability:
From today, Starbucks Reserve coffee will be available for sale exclusively at the RWS store as whole bean, half-pound packages or brewed by the cup through either the French coffee press or pour-over method.  The retail price for 250g whole bean starts at S$22 and a tall (12 fl. oz.) cup of Starbucks Reserve coffee starts at S$5.30 using the pour over method, and S$5.90 for French press.

These Starbucks Reserve™ will be available for a limited period, and new Reserve beans will be offered on a rotating and seasonal basis.


Photo Credit: Starbucks Coffee Company
Read More..