Professional Documents
Culture Documents
Higher Mathematics
Higher Mathematics
Apoorv Yadav
ENROLLMENT NO.
2020BELE084
BRANCH-
ELECTRICAL
ENGINEERING
onlinegdb.com/online.c_compiler
OnlineGDB bbeta Run DebugStopCShare HSave ()Beautily Language C
malin.c
online compiler and debugger for cic+*
7 *erseevrex***en********reoszroe**n**r*******eerereeseve**en/
code. complle. run, debug. share 8
9//calculate distance
IDE 16 #include stdio.h>
11 void main()
My Projects
Classroom new
12 printf("
13 tloat
VALUES OF
v,u,a,S;
INITIAL,FINAL VELOCITY AND ACCELARATION\n");
f 21 s-(vv-u"u)/2"a
("DISTANCE(s)=%F",5)
24
input
VALUES OP INITIA, PTNAL VELOCITY AND ACCELARATION
TNITIAL VELOCITY2
FINAL VELOCITY=4
ACCELARATION=8
DISTANCE (s) =48 .000000
About FAQ Blog Tems of Use Contact Usess NTER to exit console -
GDB Tutorial Credits Privacy
Connectin9- B Online
00-05
22-01-2021
WhatsApp X Online CCompiler-online editor x +
E c onlinegdb.com/online.c.compiler
Run DebugStop C Share H Save ()Beautily Language C
OnlineGDB beta maln.c
online compiler and debugger for clc+
/**************************************************************************
code. complle. run, debug. share OnL ine C Compiler.
IDE Code, Comp1le, Run and Debug C program online.
Write your code in this editor and press Run button to compile and execute i t .
My Projectss
Classroom new 7 *****************************************************************************/
Learn Programming
19
input
TEMPRATURE IN PAHRENHEI=70
TEMPRATURE IN CENTIGRADE=21.111111
22-01-2021
x
WhatsApp Online CCompiler-onlineeditor x +
C onlinegdb.com/online.c.compiler
beta
Run DebugStop C Share H Save () Beautily Language C
OnlineGDB
online compiler and debugger for cice
idin.c
Online C Compiler.
code. comple. run, debug. share. Code, Comp ile, Run and Debug C program onl ine.
Write your code in this editor and press Run" button to compile and execute it.
IDE
My Projects ******************************************************************************/
Classroom new
2
input
ENTER THE VALUE OF RADIUS=20
AREA=1256.599976
IDE
My Projectss
Classroom new 10 //area of rectangle
Learn Programming 11 #include<stdio. h>
12 void main()
Programming Questions 13
Sign U 14 float a,l,b;
15 of
Login 16
prantlength
scan(st 1);
rectangle=")
17 print ("bredth of rectangle=")
18 scan (f",&b);
a-lb
20 p a n ( A r e a of rectangle=%f ,a))
22
input
Length Ot rectangle-b
bredth of rectangle=5
Area of rectangle=30.000000
22-01-2021
WhatsApp X Online CCompiler- online editor x +
C onlinegdb.com/online.c.compiler
Run DebugStopCShare HSave ) Beautily Language C
OnlineGDB beta
online compiler and debugger for cic+*
11 void main()
code. complle. run, debug. share 12
13 int ml, m2, m3, m4, m5, TOTAL;
IDE 14 float per;
My Projects 15
int ("Enter marks of each 5 subjects out of 100\n");
Classroom new
16
17
scan ddsddkd, aml, &m2, &m3,m4, im5);
TOTAL=m1+m2 m3+m4+m5;
18
Learn Programming Lo
int ("TOTAL MARKS=%d \n ", TOTAL);
Programming Questions 19 per-(TOTAL/5);
Sign U
20
21
("PERCENTAGE=%f\n",per);
if(per-91)
Login
22
print("PARTY KAB DEGA
(A+)");
23 elset
24 if(per=85)
25 print ("A");
26 else{
27 if(per>=80)
28
("B+")5
input
34
0
73
TOTAL MARKS=359
PERCENTAGE=71.000000
x+
E C onlinegdb.com/online.c.compiler
R u n DebugStop C Share HSave ()Beautily Language C
OnlineGDE bea
online compiler and debugger for cice
iaii.c
25 prantA);
26 elset
code. complle. run, debug. share 27 if(per>=80)
DE 28 prantr(B+ )
29 elset
My Projects 30 if(per>=70)
Classroom new 31 printr(C5
32 elset
Learn Programming 33 if(per>=55)
34 prnt:(c)
Programming Questions
35 else{
Sign U 36 printf(°fail");
Login
38
40
3
input
55
34
0
73
TOTAL MARKS=359
PERCENTAGE=71.000000
10
11
area of triangle
#include<stdio.h>
code. complle. run, debug. share 12 #include<math. h>
13
IDE
14 int main()
My Projects 15
float
Classroom new 16
17
s, a, b, C,
the
res;
of first side of
prantf("enter lengths triangle \n"
Learn Programming 18 scan (5 &a);
Programming Questions 19
prit ("enter the lengths of second side of triangle \n'");
20 scan ( s b);
Sign p the of third side
21
22
print("enter
scan(s&c);
lengths triangle\n");
Login
23 s-((a+b c)/2);
24
25
res-sa(s"((s-a)"(s-b)"(s c)));
prantr(area of triangle st , r e s ) ;
2 6 return 65
27
23
input
enter the lengths ot tirst 31de or trLangiLe