Posts

Create a basic Animation to show the realistic ball movement.

Create a basic Animation to show the realistic ball movement. (By using Macromedia Flash 8) Step 1 :- Draw a vector using any of the drawing tools in flash say a small circle & convert it into a symbol (f8) by selecting the graphic option & name the symbol say ball. Step 2 :-Click the 20th frame in the timeline & insert a frame(f5) Step 3 :-Now right-click the 20th frame in the timeline & select create motion tween(or motion option from the tween panel of the properties inspector) & insert a keyframe(f6) Step 4 :-Select the 10th frame & insert a keyframe(f6)&move the ball to a different position say above the current position to create a motion sequence(automatically tweened by flash) Step 5:-Save your work & test the movie(ctr+enter)

C Programs

1.C program to check odd or even using modulus operator #include<stdio.h> main() {    int n;    printf("Enter an integer\n");    scanf("%d",&n);     if ( n%2 == 0 )       printf("Even\n");    else       printf("Odd\n");     return 0; } 2. Fibonacci Series c language #include<stdio.h>  int main() {    int n, first = 0, second = 1, next, c;    printf("Enter the number of terms\n");    scanf("%d",&n);    printf("First %d terms of Fibonacci series are :-\n",n);    for ( c = 0 ; c < n ; c++ )    {       if ( c <= 1 )          next = c;       else       {          next = first + second;  ...