Professional Documents
Culture Documents
CSE Yashkarn
CSE Yashkarn
Dol
MomeSash uostuotioinx0- 12106409
Adecion K2IRB1 Rollsne-30
DATE SES T
RAGE LIIo
D a hogsQ do chph the elste belusees
asmdesand is neeaais aluny4amulil
uwa oligtw numke,45, te
estan, e lake n
e 9).Jor acsil45:54)) D 9
1da rese i 54da he ol
huel yau úu adell ke poleuxiq aly
A euiw
a asonoMulen ano kako amy ndig4
* clore
M#nthuolu aldio.k>
2 nt nam K
3 t uomden, uuersesNium: 0 2maindu
4n ult,
5ninly"Enia Am indgu ")
bca d,knumua),
alCnnMumbn: 0)L
9umamdu =bmMunnder " lo,
1uArdMn hovere.ofNunlot nmaimobu
13AulEumm- muwnas Nu
14humtRnerandsumbenz 4", uepN)
15Jd nlmea etwen 7domdhdiaed" numdu,
nezetNun, naull,
ntuna ;-
L
main c
Rn ODebugStCsan Se ) Bonity Language C O
#include cstdio.h>
int main01
int number, reverseofNum = , enainder;
result
Enter an integer: )
1nt
dnumber);
tempNumber numbers
while (tempNumber I= 0)
tempNumber 10;
reverseofNum=reverseofNum 18 ren
tempNumber /a 10;
result number reverseofNu
reverseotNum);
between d and d is =*d", number, reverseofNum, result) :
returnn8:
nbifference
input
nter
Reversed number 89
Difference between 98 and 89 is =9
LCuout L=|50)
At D. D25*d
Telal lill=qt t.d
Umt 300)
d=min-chasgp tlloo *4.66t Lsut-lob). 54
t0.D26 *d
otal lil=gt tol
ulu 0 y
D Run Debug SepeshiHSave 0 Baady Lalnguag C o
malin.c
udecstd~o.h>
main
5
int
ant y 2/5
meddunit
8 float d; amount of unmit
9loat 8st; 65 2.5E ofamount:
mount
28
dmeter_charge unit 4.56 , d)
22 gst-
23 totalbill gst
4
2dmeter_charge
unt T
894.55 unit 197.54;
0)
hll- gst d:
2 nn cst
of total amount
S
Onntotal amount _bill: f , total bill);
N
34
nput
PEOgram
Dz
Einished with
oxit
to exit eonaole ode
2Ecplam uemackamsssm oimple ayjecaaliu
Lolleun
O t aud int
cloadandumt
ia mihisno drud cesdeisg Bne data lyfo
h casuwsq
teAmules dola lye
Japlicd_data tyho sashuing ia adouatueally Aerformud
thanuitLomgLoaideuldh
F dive
oat dil %
Pauik lie Yd dv =f lu1,duwa)
oliv 2
oliva 2.09
Run ODebugStopCSharo Save( Boauty Language C
/ Computes
a input_dividend /input_divisor;
Quotient d, quotient);
("Remainder d , remainder);
21
return
mput
nter di
nter i 20
divisor
uotent 4Remainder 4
Progranfinished
Press ETER to exit console
with
exit code 0
bLd asnd leat
Lnd a 17
lead b= 6
Ltdiv
kangdyfo
dezotiig An lia io oluay LlakAst id deheadsasu fikak
Ploat le
de2.
RunO DebugStooCS H Save ( Bety Language C
main c
2
ncLude
1ntan
cstd10.n>
nput dividend, quotient, enainder
TioatAnput_diVIsor;
("Enter dividend: )
(s4", sinput_dividend) ;
printi ("Enter divisor: ");
9 sca (KE", input_divisor)
11 /7 computes quotient
12 quotient - input_dividend/ (float) input_divisor;
14 print(Quotientd", quotient);
15 print("Remainder= d " ,
6
17 return 0
8
input
nter diVIdend: 7
with code 0
PEOgram tinished
exit
Press EvTER to exit
console
Load ad Luk h
Lat b b
Koe
Went oliva a/
at oliu 2
Lleat dura-2:
Run
main.e
DebuStSh HSvo (0oudty Language
#include <stdio.h>
int main0 1
int input_divisor, quotient, Temainderg
float inputdividend;
7 return
18
Input
nter dividend: 7.9
Enter divisor : 4
2uotient 1
Remainder 32767
Pest
OK= 5
3 16tl
26
DATELEBO
b3
utudekaldio.k)
t a l, b
bE Dtttat-
rund(o=7.diaa)
Jpri b=7.dh)
Qutud tamk
D3
b3
3 0 2
A3
ik a=l, b
b t t a t 4t0,
unt Slo-7d\a"a)
Run DebuSCSheHSave3Beautity Language
#include <stdio.h
int main()(
int a1 0 ;
printa dinin",*a);
( ' a = dinin",a);
return e,
input
= l1
uaialldyl
aneauue1fa
9
CE- + - -
CE 11
2 Q lb 9,
H Auchid tdiosh
sudpuk
nt h E 0 t a
uintb=7d"b1
uliuu D
Run ODebusStopCshare H Savo ) Beatify Language c
#Anclude <stdio.h>
nt main()(
a =10;
print(a dinin
print ("a dinin",a)
=
return
put