Friday, October 7, 2011

#include
int main(){
int x,y;
printf("Enter value for x :");
scanf("%d",&x);
printf("Enter value for y :");
scanf("%d",&y);
if ( x > y ){
printf("X is large number - %d\n",x);
}
else{
printf("Y is large number - %d\n",y);
}
return 0;
}

Thursday, October 6, 2011

IT 403

1. Create a simple POS program that will compute the quantity order by the customer of a food store. Kindly refer to the sample output below:


Condition:

If upgrade is yes add 15 to total bill

Sunday, October 2, 2011

Solution # 8

#include
#include

int choice,p,a,b,c,area,base, height;

int main()
{
printf("This program will get the perimeter and are of Triangle\n");
printf("Choices\n");
printf("1.] Perimeter\n");
printf("2.] Area\n");
printf("Enter Choice [1 or 2]: ");
scanf("%d",&choice);

if (choice == 1)
{
printf("Enter Side A: ");
scanf("%d",&a);
printf("Enter Side B: ");
scanf("%d",&b);
printf("Enter Side C: ");
scanf("%d",&c);
p = a + b + c;
printf("The perimeter of the area of a triangle is %d",p);
}

if (choice == 2)
{
printf("Enter Base: ");
scanf("%d",&base);
printf("Enter Height: ");
scanf("%d",&height);
area = (base * height)/2;
printf("The area of a triangle is %d",area);
}
getch();
return 0;
}


Saturday, October 1, 2011

Checkbox & radio buttons


Change the following properties refer the table below





Following code is typed in the Click() events of the CheckBoxes

Private Sub chkBold_Click()
If chkBold.Value = 1 Then
txtDisplay.FontBold = True
Else
txtDisplay.FontBold = False
End If
End Sub

Private Sub chkItalic_Click()
If chkItalic.Value = 1 Then
txtDisplay.FontItalic = True
Else
txtDisplay.FontItalic = False
End If
End Sub

Private Sub chkUnderline_Click()
If chkUnderline.Value = 1 Then
txtDisplay.FontUnderline = True
Else
txtDisplay.FontUnderline = False
End If
End Sub

Following code is typed in the Click() events of the OptionButtons

Private Sub optBlue_Click()
txtDisplay.ForeColor = vbBlue
End Sub

Private Sub optRed_Click()
txtDisplay.ForeColor = vbRed
End Sub

Private Sub optGreen_Click()
txtDisplay.ForeColor = vbGreen
End Sub

To terminate the program following code is typed in the Click() event of the Exit button

Private Sub cmdExit_Click()
End
End Sub

Run the program by pressing F5. Check the program by clicking on OptionButtons and CheckBoxes.

Wednesday, September 28, 2011

SEAT WORK

it403

1.continue working with your quizzes and include question no. 8

comed7 (animation)

1.create a flash movie using mask and masked about christmas

it elective (php)

1. you research about database in php and research also about example log-in form

Monday, September 26, 2011

COMED 7 - 8-9

(Morning)
Group 1

1. Atillo, Annalou
2. Aying, Jason Kent
3. De juan Charmelyn
4. Caballero, Ruben
5. Quinto, Shy Ann Marie
6. Mesa, Charl

Group 2

1. Cadayona, Dexter
2. De Juan Cheryln
3. Detoyato, Franz
4. Sumaria, Merry Ann
5. Casiple, Christopher

(Evening)

Group 1

1. Abouelo
2. Dumadangon
3. Jumawan
4. Noro
5. Pepito
6. Pulido
7. Sumile

Group 2.

1. Delos Reyes
2. Jamora
3. Laberos
4. OmaƱa
5. Perucho
6. Ruben

Task:

This activity will show your creativity, how you will apply those knowledge that you learned from this subject (multimedia) in making your own music video .

In your group you select a director, script writer and cast. Each group will select a song (love song, R&B, Rock, Alternative and the likes) you will create a music video base from the selected song.

Requirements:

Digital Camera
Cam coder
Video Editing Software

Deadline of submission will be on OCTOBER 3, 2011

Monday, September 19, 2011

Comed 7 - Animation

1. Create a animation using guide and guided about the solar system.
2. Express your creativity
3. Deadline of submission during exam.


Followers

Visitor

free counters

FEEDJIT Live Traffic Feed