Bubble Sorting Algorithm example ——————————– Program takes a hardcoded array of certain numbers and sorts them using a simple bubble sort algorithm that I put into a function. I used a macro insteadof a function for the swapping b/c it’s easier to read and understand. The program outputs a beforeand after of the elements of the array to show that it actually did something. ***************************************************/ #include <stdio.h> #include <stdlib.h> #define SWAP(a,b) { int t;...
Continue reading »
# include <graphics.h> # include <dos.h> # include <stdio.h> # include <conio.h> # include <math.h> # include <process.h> void frame(); void star_in(int, int, int, int, int, float, float); void line_at_angle(int, float, int); void beep(int, int); void clear (int, int, int, int, int); void main() { int gdriver=DETECT,gmode,errorcode; initgraph(&gdriver,&gmode,”c:\tc\bgi”); errorcode=graphresult(); if(errorcode!=grOk) { printf(“ Graphics error %s”,grapherrormsg(errorcode)); printf(“ press any key to halt. “); exit(1); } struct time t; gettime(&t); int key,k=0;...
Continue reading »
Political Science (028) Question Papers 2015 Question Paper Class 12 Political Science 2015 Paper 1.pdf
Continue reading »
Mathematics (041) Question Papers 2015 Question Paper Class 12 Mathematics 2015 Paper 1.pdf Question Paper Class 12 Mathematics 2015 Paper 2.pdf Question Paper Class 12 Mathematics 2015 Paper 3.pdf Question Paper Class 12 Mathematics 2015 Paper 4.pdf Question Paper Class 12 Mathematics 2015 Paper 5.pdf Question Paper Class 12 Mathematics 2015 Paper 6.pdf Question Paper Class 12 Mathematics 2015 Paper 7.pdf Question Paper Class 12 Mathematics 2015 Paper 8.pdf Question...
Continue reading »
Computer Science (065) Question Papers 2015 Question paper Class 12 Informatics Practices 2015 Paper 1.pdf Question paper Class 12 Informatics Practices 2015 Paper 2.pdf Question paper Class 12 Informatics Practices 2015 Paper 3.pdf Question paper Class 12 Informatics Practices 2015 Paper 4.pdf Question paper Class 12 Informatics Practices 2015 Paper 5.pdf Question paper Class 12 Informatics Practices 2015 Paper 6.pdf Question paper Class 12 Informatics Practices 2015 Paper 7.pdf Question...
Continue reading »
English (001) Class 12 Question Papers 2015 English 12 Question Paper 2015 1.pdf English 12 Question Paper 2015 2.pdf English 12 Question Paper 2015 3.pdf English 12 Question Paper 2015 4.pdf English 12 Question Paper 2015 5.pdf English 12 Question Paper 2015 6.pdf English 12 Question Paper 2015 7.pdf English 12 Question Paper 2015 8.pdf English 12 Question Paper 2015 9.pdf
Continue reading »
Economics (109) Class 12 Question Papers 2015 Economics 12 Question Paper 2015 1.pdf Economics 12 Question Paper 2015 2.pdf Economics 12 Question Paper 2015 3.pdf Economics 12 Question Paper 2015 4.pdf Economics 12 Question Paper 2015 5.pdf Economics 12 Question Paper 2015 6.pdf Economics 12 Question Paper 2015 7.pdf Economics 12 Question Paper 2015 8.pdf Economics 12 Question Paper 2015 9.pdf Economics 12 Question Paper 2015 10.pdf Economics 12 Question Paper 2015...
Continue reading »
Chemistry (044) Class 12 Question Papers 2013 Chemistry Question Paper 2013 1.pdf Chemistry Question Paper 2013 2.pdf Chemistry Question Paper 2013 3.pdf Chemistry Question Paper 2013 4.pdf Chemistry Question Paper 2013 5.pdf Chemistry Question Paper 2013 6.pdf Chemistry Question Paper 2013 7.pdf Chemistry Question Paper 2013 8.pdf Chemistry Question Paper 2013 9.pdf Chemistry Question Paper 2013 10.pdf Chemistry Question Paper 2013 11.pdf
Continue reading »