You are on page 1of 5

main() { int n[50],i,j,k,temp,first,mid,last,ser,flag=0; clrscr(); printf("how many number u want to insert?"); scanf("%d",&k); for(i=0;i<=k-1;i++){ printf("Enter values?

"); scanf("%d",&n[i]); for(i=0;i<=k-1;i++){ for(j=i+1;j<=k-1;j++) { { } } printf("Sorting\n"); for(i=0;i<=k-1;i++){ printf("%d\n",n[i]); } if(n[i]>n[j]) temp=n[i]; n[i]=n[j]; n[j]=temp; } }

printf("Enter serching number?"); scanf("%d",&ser); first=0; last=k-1; mid=(first+last)/2; while(last>=first) { if(ser==n[mid]) else if(n[mid]>ser) else if(n[mid]<ser) if(flag==1){ { { { flag=1; first=first; break; } mid=(first+last)/2; } } printf("\n"); }

last=mid-1; mid=(first+last)/2;

first=mid+1;last=last; printf("\n");

printf("SEARCHING NUMBER IS FOUND");

printf(" POSITION OF SEARCHED NUMBER %d",mid+1); } else{ printf("Searching Number not found"); } getch(); }

August 31, 2011 Mr. Lloyd Sta. Lucia Harvard University 220 Cambridge, Massachusetts, U.S.

Dear Sir: I discovered in your website that your school offers short courses during summer. Among these courses which I find interesting and glad to take the opportunity of learning is Information Technology. In line with this, I would be thankful to know more information and materials about this course, the procedure in enrollment, admission requirements and other needed requirement for me to take up this course. Your immediate attention on this subject will be highly appreciated.

Thank you.

Sincerely, Mr. Earvin P. Roldan

August 31, 2011 Mr. Lloyd Sta. Lucia VTM Company Cambridge, Massachusetts

Dear Sir: Do you feel sad and lonely? Do you feel bored? Think no more, here is the new and complete ENERVIN vitamin. This medicine can help you boost your knowledge and energy. EnerVin is a complete package of vitamins from A to Z that can help teenagers and adults in their performance at school or at work. The cost of this complete daily vitamin is only P20.00 per tablet. Get advantage of our promo for today only, for every tablet you purchased, get two (2) tablet free (Buy 1 Take 2) and a souvenir EnerVin key chain for the first 100 buyers. Thank you.

Sincerely, Mr. Earvin P. Roldan

FOR: FROM: SUBJECT: DATE:

MRS. SHIRLEY REYES MR. EARVIN P. ROLDAN SUMMARY OF LESSONS IN TECHNICAL WRITING AUGUST 31, 2011

We discussed Technical Writing and its function and the Effective Style of Writing. We also tackled Sentence Fragment and Run-on Sentence. I learned the words commonly misused, redundancy of words and cliche words. Also taught was about the formal parts and common styles of letters. We also discuss some of the different types of letters like letter of inquiry, sales and promotional, ordering a product, claim letter and memorandum and the proper way to response to those types of letters mentioned.

EARVIN PRADO ROLDAN


1649 Pedro Gil Street, Paco, Manila, Philippines Telephone No.: (632) 485-0441; Mobile No.: (63) 915-617-4048 Work Experience: August 2015 Present : System Supervisor VTM Company, Cambridge, Massachusetts Asst. System Supervisor VTM Company, Cambridge, Massachusetts

April 2014 July 2015

Education Background: College 2010 2014 Pamantasan ng Lungsod ng Maynila (PLM) Intramuros, Manila Concordia College Paco, Manila St. Piux X Parochial School Paco Manila Bachelor of Science Major in Computer Science Graduated Graduated

Secondary Elementary

2006 2010 2001 2006

Personal Reference: Age : Place of Birth : Nationality : Interests: Computer Games, Reading, Watching Movies, Surfing the Net Other Skills: Trouble shooting of desktop and laptop computers and its accessories Web-page Development 22 Years Old Manila Filipino Date of Birth : Sex : Civil Status : May 10, 1994 Male Single

I hereby acknowledge the correctness of the above information. ______________________ Earvin P. Roldan

You might also like