Monday, 16 September 2013

Object Oriented Programming Language using C++ Most Important Questions on Internal Exam HNGU

Filled under:

...

Posted By New19:21

Thursday, 9 May 2013

Sortcut key in Turbo C++

Filled under:

ALT-ENTER              :           Go full screen and back ALT-PAUSE              :           Pause DOSBOX CTRL-F1                    :          ...

Posted By New11:00

Wednesday, 8 May 2013

C 52 Practical Programs

Filled under:

Fundamental of Programming Language 'C' 52 Practical Programs   Pr-1- write a c program to display “hello computer” on the screen. #include<stdio.h> #include<conio.h> void main() { printf(“hello computer”); } Out put: hello computer Pr-2- write a c program to print roll no, name, address. #include<stdio.h> #include<conio.h> void main() { printf(“ROLL NO=1”); printf(“NAME=SAMARTH”); printf(“ADDRESS= SAMARTH BCA COLLEGE \n SAMARTH CAMPUS \n HAJIPUR \n HIMMATNAGAR”); } Output: ROLL NO=1 NAME=SAMARTH ADDRESS= SAMARTH BCA COLLEGE SAMARTH CAMPUS HAJIPUR HIMMATNAGAR Pr-3- write a C program to find the area of circle using the formula Area=PI*r*r. #include<stdio.h> #include<conio.h> void main() { float pi=3.14; float r,area; printf("ENTER THE VALUE OF r="); scanf("%f",&r); area=pi*r*r; printf("AREA=%f",area); getch(); } Output: ENTER THE VALUE OF r=5 AREA=78.500000 Pr-4- write a C program to find the area of rectangle ,cube and tringle.( formula are: rectangle=l*b*h, tringle=(l*b)*0.5, cube=l*l*l) #include<stdio.h> #include<conio.h> void main() { float t; int l,b,h,r,c; clrscr(); printf("\nENTER THE VALUE OF l="); scanf("%d",&l); printf("\nENTER THE VALUE OF b="); scanf("%d",&b); printf("\nENTER THE VALUE OF h="); scanf("%d",&h); r=l*b*h; c=l*l*l; t=(l*b)*0.5; printf("\n RECTANGLE=%d",r); printf("\n...

Posted By New18:24