December 2011
3 posts
Object Oriented
/*  * To change this template, choose Tools | Templates  * and open the template in the editor.  */ package personalinfo2; import java.awt.*; import java.awt.event.*; public class Main  { Label t1; public static void main (String[] args) {            t1= new TestLabel ( ); } public class TestLabel extends Frame  { Label lbl,lbl2,lbl3,lbl4,lbl5; TestLabel ( ) { lbl = new...
Dec 13th
LastName, FirstName MiddleInitial.
Public Class Form1     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click         TextBox4.Text = TextBox3.Text + “, ” + TextBox1.Text + ” ” + Microsoft.VisualBasic.Left(TextBox2.Text, 1) + “.”     End Sub End Class
Dec 13th
VB [Toolbox] Common Controls
Button- Raises an event when the user clicks it. CheckBox- Enables the user to selector clear the associated option. CheckedListBox- Displays a list of items with a check box on the left side of each item. ComboBox- Displays an editable text box with a drop-down list of permitted values. DateTimePicker- Enables the user to select the date and time, and to display that date and time is a specified...
Dec 13th
October 2011
1 post
Multiplication mga Classmate
#include <iostream.h> #include <conio.h> int func1 (int h, int v) {   int r;   for (h=1;h<=10;h++)   {for (v=1;v<=10;v++)     cout«h*v«”\t”;   } } int main () { clrscr();   int a,b;   func1(a,b);   getch();   return 0; }
Oct 13th
August 2011
1 post
Trapezoid :D
# include<iostream.h> #include<conio.h> int b1,b2,h,a; int area2(int b,int c); int main() {     clrscr();     cout«”Enter Shorter Base for b1: “;     cin»b1;     cout«”Enter Larger Base for b2: “;     cin»b2;     cout«”Enter Height for h: “;     cin»h;     a=area2(b1,b2);     cout«”The Area of the Trapezoid is...
Aug 15th
July 2011
5 posts
Assignment niyo!
1. Describe function. 2. Waht is parameter passing? 3. Submit a sample program using function.
Jul 25th
strcpy :D
#include <iostream.h> #include <conio.h> #include <string.h>   char fn[80],ln[80];   float pg,cp,ew,p,sw,r,q,x;   int main()   { clrscr();   for (x=1;x<4;x++)   {   cout«”Enter your first name : “;   cin»fn;   cout«”Enter your last name : “;   cin»ln;   cout«”\n”;   strcat(fn,” “);  ...
Jul 25th
Employees 2 :D
#include <iostream.h> #include <conio.h> #include <string.h> int np,name,x,num,ded,nw,tax,rph,gp,tnpy,ot; char o,emp[30]; main() {clrscr(); for (x=1;x<4;x++) {cout«”Enter name of employee : “; cin»emp; cout«”Enter rate per hour : “; cin»rph; cout«”Enter num of working hours : “; cin»num;...
Jul 18th
Employee :D
#include <iostream.h> #include <conio.h> #include <string.h> int x,num,ded,nprph,nw,tax,rph,gp,gr,tnpy,np; char emp[30]; main() {clrscr(); for (x=1;x<4;x++) {cout«”Enter name of employee : “; cin»emp[x]; cout«”Enter rate per hour : “; cin»rph; cout«”Enter num of working hours : “; cin»num;...
Jul 18th
Last-In-First-Out
#include <iostream.h> #include <conio.h> int main() {     int x,y,n[10];     clrscr();     cout«”Enter ten (10) integer : “;     for (x=0;x<=9;x++)     cin»n[x];     cout«”\n”;     cout«”Options:\n”;     cout«”[1] Last-In-First-Out\n”;     cout«”[2] Last-In-Last-Out\n”;    ...
Jul 11th
May 2011
1 post
Di talaga ako marunong mag tumblr :D
May 2nd
February 2011
1 post
Array (C++)
#include #include intx,y,num[5],temp,option; char choice; int main() { clrscr(); choice=’y’; while ((choice==’y’)||(choice==’y’)) { clrscr(); coutnum[y+1]) { temp=num[y]; num[y]=num[y+1]; num[y+1]=temp; for (x=0;x>choice; ...
Feb 3rd
January 2011
12 posts
Jan 27th
Practical Exam! PERFECT!
#include <iostream.h> #include <conio.h> int x,y,num; int main() {   clrscr();     cout«”Enter an integer : “;     cin»num;     for (x=1;x<=num;x++)        { for(y=1;y<=x;y++)      if (y%2==1)         cout«”#”;      else         cout«”*”;      cout«”\n”;        } getch(); return 0; }
Jan 27th
Ang tumblr ba pang blog?
Jan 26th
Anonymous asked: andito ako parati para sayo.
Jan 25th
islower & islower :D
#include <iostream.h> #include <conio.h> #include <ctype.h> char letter; int main() {    clrscr();     cout«”Enter a letter :”;     cin»letter;     if (isalnum(letter))         cout«letter«” is alphabet or a number\n”;     else         cout«letter«” is not a alphabet nor a number\n”;     if (isalpha(letter))    ...
Jan 6th
ispunct :D
#include <iostream.h> #include <conio.h> #include <ctype.h> char letter; int main() {    clrscr();     cout«”Enter a letter :”;     cin»letter;     if (isalnum(letter))         cout«letter«” is alphabet or a number\n”;     else         cout«letter«” is not a alphabet nor a number\n”;     if (isalpha(letter))    ...
Jan 6th
isdigit :D
#include <iostream.h> #include <conio.h> #include <ctype.h> char letter; int main() {    clrscr();     cout«”Enter a letter :”;     cin»letter;     if (isalnum(letter))         cout«letter«” is alphabet or a number\n”;     else         cout«letter«” is not a alphabet nor a number\n”;     if (isalpha(letter))    ...
Jan 5th
isalnum :D
#include <iostream.h> #include <conio.h> #include <ctype.h> char letter; int main() {    clrscr();     cout«”Enter a letter :”;     cin»letter;     if (isalnum(letter))         cout«letter«” is alphabet or a number\n”;     else         cout«letter«” is not a alphabet nor a number\n”; getch(); return 0; }
Jan 5th
isalpha :D
#include <iostream.h> #include <conio.h> #include <ctype.h> char letter; int main() {    clrscr();     cout«”Enter a letter :”;     cin»letter;     if (isalnum(letter))         cout«letter«” is alphabet or a number\n”;     else         cout«letter«” is not a alphabet nor a number\n”;     if (isalpha(letter))    ...
Jan 5th
Case..
#include <iostream.h> #include <conio.h> char letter; int main() {    clrscr();     cout«”Enter an letter :”;     cin»letter;     switch(letter)         {    case ‘a’:             case ‘A’:             case ‘e’:             case ‘E’:                         case ‘i’:                         case...
Jan 5th
Quiz :D
#include #include char letter; int main() { clrscr(); cout>letter; switch(letter) { case ‘a’: case ‘A’: case ‘e’: case ‘E’: case ‘i’: case ‘I’: case ‘o’: case ‘O’: ...
Jan 5th
stubbornprincess11 asked: your page is nice!love it! should we be friends?
Jan 2nd
December 2010
1 post
Paturo ng CSS ;D
Paturo ng CSS ;D
Dec 1st
November 2010
2 posts
Pano ba mag reply sa pinost ko?
Pano ba mag reply sa pinost ko?
Nov 25th
Finding roots.
#include <iostream.h> #include <conio.h> #include <math.h> float a,b,c,s,root,R; int main() {   clrscr();     cout«”enter an number for a : “;     cin»a;     cout«”enter an number for b : “;     cin»b;     cout«”Enter an number for c : “;     cin»c;     s=(a+b+c)/2;     root=s*(s-a)*(s-b)*(s-c);    ...
Nov 25th
June 2010
1 post
Jun 30th