Header Ads Widget

A C porgram to display the first 10 term of series 1,5,9.......

 #include<stdio.h>

void main ()

{

int i;


for (i = 0; i <= 41; i = i+4) {

printf("%d\n", i);

}



}



Post a Comment

2 Comments

  1. wap to enter salary of 50 emppployee and dsiplaythem


    #include
    #void main ()
    {
    int salary[50], a;
    for (a=0; a<=49;a++)
    {
    printf("enter your salary");
    scanf("%d", &salary[a]);

    }
    for (a=0; a<=49;a++)
    {
    printf("salry[%d] = %d",salary[a],a);
    }



    }

    ReplyDelete

  2. aani 8 num

    SELECT* FROM employee
    WHERE name LIKE "A%";

    aani 9 number
    SELECT* FROM employee
    WHERE name NOT LIKE "A%";



    aani 10 number
    SELECT* FROM employee
    WHERE name LIKE "__t%";


    AABA 11NUMBER


    SELECT* FROM employee
    WHERE name LIKE "B%a";


    AABA 12 NUMEBR

    SELECT* FROM employee
    WHERE POST!= "MANAGER";



    ABA 13 NUMBER


    UPDATE salary
    SET allowance = 0.15*basic_salary;



    aani ouptpurt





    aaba 14 num

    ReplyDelete