You are on page 1of 19

Mame- Jask Aphon-K 21RB-G-1

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

can e uaed te tao inhut


AMha ihu uund Rnd Aa i o anstihen aiaduh of
NUM,

and Aae it Jo huolauaiabk mameh4


0Num
eAull.

Mer uAo lhe mpduluuwfehalo togd Marasuansu


DATE

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

.Program finished with e x i t code 0


Press TER to exit console
19.2 wukea photham Ao taklat total ehetricity
eecieiy has 123456 ano the wont tuaolvno
123 18G. a t talkulai he Avnauned uaula p

tol. Lil Emmiu rat tumita "4,56t 2.52, CS1


the tokal LAL.
ihs couunmed usit ia alou 30o thou lotal ill=
mein noidtloo 4.56 tlumit1oo) *7. 54 t9.5.LsTA
Rnt tho lohl bll nle tenpuibstreen
#seluelnLsldiok>
nt naaisL
Lnt y =l2 3456,
mt y 123189
L t LLsu comauned usauk "
oat o omeud u t "
leat gat /*GSI 2,5/nasout
Lloal lotal klzZLLotal omaud iiskudighangu
ind ni-thargo =lo *melnelhanga
rnb aln prrand methuadsg i"lc, g-

LCuout L=|50)

mekereharg dusak " 4.56

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

10 float total bil; itota including charges


11 int meter_charge
reading:d, x)
printt Cn \n present month_reading:%d, y);
PrtT e t e r charge d m e t e r charge )
unit

ANnotat Eonsuhe t is kd", unit);


7
Cunit 59)

28
dmeter_charge unit 4.56 , d)
22 gst-
23 totalbill gst
4

(n gst of total amunit z*, Est


(hnritotal amount bill: total bill);
A (unit >se0)

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

unit anount 49.Ueu

got of total amount 132.376495

total amount_bili: 5427.436523

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

#include <stoiO. h>


int main(0
int input_dividend, input_divisor, quotient, remainders
Prins C Enter dividend: ");
("s4", sinput dividend);
eansC Enter divisor: ");
scan ("%d", 8input_divisor);
18 /7 computes quotient
11 quotient input dividend/ input_divisor;

/ 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

Auu div a id thuralo.i

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

nter divisor: 4.6


Quotient IRemalnder 32767

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;

print ("Enter dividend:)


scanf(f",inputdividend
print (Enter divisor:);
scan ("%d", 8input_divisor);
11
Copue nput dividend/ input
quotient (l0at)input_dividend/ input_divisor;
divisor;
4
nquotient);

7 return
18

Input
nter dividend: 7.9
Enter divisor : 4
2uotient 1

Remainder 32767

finished with code O


Program
Press ENTER to exit console
exit
DATEL

mauchauisn oathement asel d


loi ihe erking
preloiMonfk,Lou asud o plaktral
holo auidh
all tendilio.d.teprpam fhosl

nckmeat asmd dethument oprlor ati many


fuuale
a reahidiel,
add er Aubtzact onk, Te erprom hei shhand,

hattanud faralo ard de iuekmud khi value wvasal

Pest

DAaign the valus Aaluelau Luhii


++o Qtt

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

Program finished with e x i t code 0

Press2TER to exit console.


DTELILLED

uaialldyl
aneauue1fa

inat outat than ldathasnud tlo val


DAALg ks valus

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

Program finished with e x i t code 0

Press NTER to exit console.

You might also like