/*TV*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgraph(...
Read More
Write a Program to draw Railway in C
/*Railway*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; clrscr(...
Read More
Write a Program to draw Home in C
/*Home*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgraph...
Read More
Write a Program to draw Face in C
/*Face*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgrap...
Read More
Write a Program to draw Cartoon in C
/*Cartoon*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgr...
Read More
Write a Program to draw Arrow in C
/*Arrow*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgrap...
Read More
Write a Program to draw Rectangle in C
/*Rectangle*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; init...
Read More
Write a Program to draw Putpixel in C
/*Putpixel*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initg...
Read More
Write a Program to draw Line in C
/*Line*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgraph...
Read More
Write a Program to draw Ellipse in C
/*Ellipse*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgr...
Read More
Write a Program to draw circle in C
/*Circle*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgra...
Read More
Write a Program for FloodFill Algorithm in C
/*FloodFill Algorithm */ #include<stdio.h> #include<graphics.h> #include<dos.h> void floodFill(int x,int y,int oldco...
Read More
Write a Program for Boundary Fill Algorithm in C
/* Boundary Fill Algorithm */ #include<stdio.h> #include<conio.h> #include<graphics.h> void boundaryFill4(int x, int...
Read More
Write a Program for MidPoint Circle Algorithm in C
/* MidPoint Circle Algorithm */ #include<stdio.h> #include<graphics.h> #include<conio.h> void drawcircle(int x0...
Read More
Write a program for Bresenham Circle Draw Algorithm in C
/* Bresenham Circle Draw Algorithm */ // C-program for circle drawing // using Bresenham’s Algorithm // in computer-graphics #inc...
Read More
Write a Program for Digital Differential Analyzer line drawing algorithm in C
/* Digital Differential Analyzer algorithm */ #include <graphics.h> #include <stdio.h> #include <math.h> #include ...
Read More
Write a program for Bresenham Line Draw Algorithm in C
/* Bresenham Line Draw Algorithm */ #include<stdio.h> #include<graphics.h> #include<conio.h> int main() { ...
Read More
DML Triggers in PL/SQL
***************************************************** CREATE OR REPLACE TRIGGER EMPTRG BEFORE UPDATE ON EMP BEGIN DBMS_OUTPUT.PUT_LI...
Read More
DDL Triggers in PL/SQL
****************************************************** CREATE OR REPLACE TRIGGER BOSSTGR BEFORE DROP ON ATHARV.SCHEMA BEGIN DBMS_O...
Read More
Procedure with parameter to add two numbers
BY DEFAULT IN ***************************** CREATE OR REPLACE PROCEDURE ADDF(N1 NUMBER,N2 NUMBER) IS N3 NUMBER; -- ADD TWO NUMBER BE...
Read More
Procedure for hello world
************************************ Procedure for hello CREATE OR REPLACE PROCEDURE HELLO IS BEGIN DBMS_OUTPUT.PUT_LINE('HELL...
Read More
How to execute a Procedure?
****************************** Using SQL command Promt: Execute PROCEDURE_NAME [(Parameters)]; EXEC PROCEDURE_NAME [(Parameters)]; ...
Read More
Cursor in Procedure PL/SQL
********************************************** Display all employees information CREATE OR REPLACE PROCEDURE EMP_INFO IS CURSOR C1 IS ...
Read More
WHILE loop in PL/SQL
********************************************************************* FACTORICAL OF GIVEN NUMBER BY USING WHILE LOOP DECLARE NUM NUMBE...
Read More
FOR loop in PL/SQL
TO DISPLAY 1 TO 10 IN REVERSE ORDER DECLARE I NUMBER:=10; BEGIN DBMS_OUTPUT.PUT_LINE('REVERSE NUMBER 1-10 '); FOR I IN REVERS...
Read More
Function in PL/SQL to return addition of two numbers
****************************************** --FUNCTION TO RETURN ADDITION CREATE OR REPLACE FUNCTION ADD1(A NUMBER,B NUMBER) RETURN NU...
Read More
User Define Exception in PL/SQL
Raise the exception when user try to divide the number by 1 ************************************** DECLARE A NUMBER(2); B NUMBE...
Read More
Implicit Cursor in PL/SQL
CL SCR : TO CLEAR THE SCREEN *********************************************** SQL> DECLARE 2 VENO EMP.EMPNO%TYPE; 3 BEGIN ...
Read More
Explicit Cursor in PL/SQL
SQL> set pagesize 200; SQL> set serveroutput on; ****************************************** DECLARE CURSOR C1 IS SELECT ENAME...
Read More
ACCEPT THREE NUMBER AND DISPLAY LARGEST ONE USING PL/SQL
***************************************************** ACCEPT THREE NUMBER AND DISPLAY LARGEST ONE DECLARE A INT; B INT; C INT; LARGE...
Read More
Write a Program to perform Bubble Sort in C
Bubble Sort in C In this sorting method we compare in pair of two element if the element in first position is larger than the second el...
Read More
Write a Program to draw circle in C
/*Circle*/ #include<stdio.h> #include<conio.h> #include<graphics.h> int main() { int gm,gd=DETECT; initgra...
Read More
Write a program of addition of two numbers and their average in C++
/*This is a program of addition of two numbers and their average in C++*/ #include<iostream> #include<conio.h> int main(...
Read More
Write a program to print the table of the given number in C
//this is a program to print the table of the given number #include<stdio.h> #include<conio.h> void main() { int i=1,num;...
Read More
Write a program for the addition of numbers from 1-100 in C
//this is a program for the addition of numbers from 1-100 #include<stdio.h> #include<conio.h> void main() { int i=1,sum=...
Read More
Write a program to print the multiples of 7 from 1- 100 in C
//this is a program to print the multiples of 7 from 1- 100 #include<stdio.h> #include<conio.h> void main() { int i=1; ...
Read More
Write a program to print the multiples of 5 from 1-50 in C
//this is a program to print the multiples of 5 from 1-50 #include<stdio.h> #include<conio.h> void main() { int i=1; ...
Read More
Write a program for demonstration of do-while loop in C
//this is a program for demonstration of do-while loop #include<stdio.h> #include<conio.h> void main() { int i=1; pri...
Read More
Write a program to print even numbers from 1-10 using do while loop in C
//this is a program to print even numbers from 1-10 using do while loop #include<stdio.h> #include<conio.h> void main() { ...
Read More
Write a program for the demonstration of continuity in C using Do While loop
//this is a program for the demostration of continuity #include<stdio.h> #include<conio.h> void main() { char ch; do{...
Read More
Write a program to find sum of digits in C
#include<stdio.h> #include<conio.h> void main() { int rem,sum,n; sum=0; printf("\n\n Enter Any number: ");...
Read More
Write a Program to find Sum and average of 3 digit in C
#include<stdio.h> #include<conio.h> void main() { int num1,num2,num3,sum; float avg; printf("\n\nEnter any Thr...
Read More
Write a Program to find largest value using ternary operator in C
#include<stdio.h> #include<conio.h> void main() { int a,b,max; printf("\n\n Enter any two values: "); scan...
Read More
Write a Program to left and right justify in C
#include<stdio.h> #include<conio.h> void main() { int num; printf("\n\nEnter any number: "); scanf("%...
Read More
First C Program
#include<stdio.h> #include<conio.h> void main() { printf("Hello C"); }
Read More
Write a Program to find Gross Salary in C
#include<stdio.h> #include<conio.h> void main() { float bs,hra,da,gs,ns; printf("\n\n Enter your Basic Salary: ...
Read More
Write a Program in C to convert Fahrenheit to Celcius in C
#include<stdio.h> #include<conio.h> void main() { float fah,cel; printf("\n\n Enter the temperature in Fahrenheit...
Read More
Write a program to demostrate the type qualifires in C
/*This is a program to demostrate the type qualifires*/ #include<stdio.h> #include<conio.h> void main() { int i=10; sig...
Read More
Write a Program to demonstrate Increment Operator in C
#include<stdio.h> #include<conio.h> void main() { int x=10,y=20; /*Pre Increment*/ printf("\n\n\t\tPre-Incremen...
Read More
Write a Program to calculate average of 5 Subject in C
#include<stdio.h> #include<conio.h> void main() { int s1,s2,s3,s4,s5,sum; float avg; printf("\n\n Enter the mar...
Read More
Write a program to find Area of Cylinder in c
#include<stdio.h> #include<conio.h> void main() { int height; float rad,area; printf("\n\nEnter the ...
Read More
Write a Program to calculate area of circle in c
#include<stdio.h> #include<conio.h> void main() { float rad,area; printf("\n\n Enter the Radius of Circle:"...
Read More
Write a program to convert Amount to Paisa in C
/* Amount to Paisa */ #include<stdio.h> #include<conio.h> void main() { int amount,paisa; printf("\n\nEnter the ...
Read More
Subscribe to:
Posts (Atom)