Posts

Showing posts from July, 2019

Area of circle = 3.14*r*r

given: Area Of Circle= 3.14*r*rOpen TurboC++ >>file>> new Coding #include<stdio.h>
#include<conio.h>
{
            float r, area;
            clrscr();
            printf("Entre  The Value Of r :");
            scanf("%f",&r);
            area=3.14*r*r;
            printf("Area = %f ",area);
            getch();
} save the programme in .c extentionRun programme >>ctrl+f9 compile programme
>>alt+f9 output comes  >>Entre The Value Of r :

Division ( / ) float

Image
Division Open TurboC++ file>>new coding#include<stdio.h>#include<conio.h>void main(){float a,b,c;clrscr();a=456;b=12;c=a/b;printf("division=%f",c);getch();} Run Programme>>ctrl+f9
compile Programme>>alt+f9
output comes

for help

harshalbhamare02@gmail.com

Division ( / ) int

Image
Division Open TurboC++ file>>new coding#include<stdio.h>#include<conio.h>void main(){int a,b,c;clrscr();a=12;b=4;c=a/b;printf("division=%d",c);getch();} Run Programme>>ctrl+f9
compile Programme>>alt+f9
output comes

for help

harshalbhamare02@gmail.com

Multiplication ( * ) ( float )

Image
Multiplication Open TurboC++ file>>new coding#include<stdio.h>#include<conio.h>void main(){float a,b,c;clrscr();a=20.10;b=10.10;c=a*b;printf("multiplication=%f",c);getch();} Run Programme>>ctrl+f9
compile Programme>>alt+f9
output comes

for help

harshalbhamare02@gmail.com

multiplication( * ) int

Image
Multiplication Open TurboC++ file>>new coding#include<stdio.h>#include<conio.h>void main(){int a,b,c;clrscr();a=20;b=10;c=a*b;printf("multiplication=%d",c);getch();} Run Programme>>ctrl+f9
compile Programme>>alt+f9
output comes

for help

harshalbhamare02@gmail.com

Substraction( - ) ( float )

Image
Substraction Open TurboC++ file>>new coding#include<stdio.h>#include<conio.h>void main(){float a,b,c;clrscr();a=20.20;b=10.10;c=a-b;printf("substraction=%f",c);getch();} Run Programme>>ctrl+f9
compile Programme>>alt+f9
output comes

for help

harshalbhamare02@gmail.com

Substraction( - ) ( int)

Image
Substraction Open TurboC++ file>>new coding#include<stdio.h>#include<conio.h>void main(){int a,b,c;clrscr();a=20;b=10;c=a-b;printf("substraction=%d",c);getch();} Run Programme>>ctrl+f9 compile Programme>>alt+f9 output comes

for help harshalbhamare02@gmail.com

Addition Of Programme ( Float)

Image
Addition of programmes( float)  open TurboC++ Click On file        >>new Coding #include<stdio.h> #include<conio.h> void main() { float a,b,c;
clrscr();
a=11.12;
b=22.12;
c=a+b;
printf("Addition=%f'",c);
getch();
} save programme   .c extention >>file>>save as>>
eg. addition.c Run programme >>ctrl+f9 compile programme >>alt+f9 output comes
for more info contact me harshalbhamare02@gmail.com

Addition of programmes (int)

Image
ADDITION OF PROGRAMME ( INT)



OPEN TurboC++
CODING  #include<stdio.h> #include<conio.h> void main() { 
        int a,b,c;         clrscr();         a=10;         b=10;         c=a+b;         printf("Addition=%d",c);          getch(); }
save programme in .c extention ( eg.  programme.c)

run  programme   >> ctrl+f9
compile programme >>alt+f9


and output comes



for help contact me  harshalbhamare02@gmail.com

print hello word in windows

Image
Print " Hello " Word in Cprogramming in Turboc++

1] Download TurboC++      click Here     https://developerinsider.co/download-turbo-c-for-windows-7-8-8-1-and-windows-10-32-64-bit-full-screen/ 2] Open TurboC++  3]Click on file >> New
4]Here We Start Coding #include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
printf("Hello");
getch();
}
5] save programe  file>>save as>>programe name.c 6]run the programme  >>ctrl+f9 7] compile the programme >>ctrl+f9 and output comes in black screen 



for more info contact me
harshalbhamare02@gmail.com