Professional Documents
Culture Documents
C Assignment 4
C Assignment 4
Poge No. 18
Assign meht 4
incLuole (Stodio.hl
nt mairu O
S float amt, tay, tamE
Dstntf En bes eloeste bill ambint= "
stant C7of \amt);
f (amt &00) thon 80o, So no hed
SDRnt fC BUL amBuntis Jess
to Pay toy. \n);
PstntfTo tal ameunt Posyolle is = Rs%f\n
Section: Year: St
NSTITUTE OF ENGINEERING &MANAGEMENT Page No. 1
DntFC7Tay ned toPay = %f In'y tay);
tomt mt +tay
Dsint fCTobal Poyalle ambunt i
=
Rs %f In
t amt);
etiln 0
bll ampun 70
Test Cale1Ente eloete
amtant is Jess Ekan Soo, So no
bil
need to Pouy tax
780o
Total ampnt Payable is Rs
=
lo0o
2-En.tes elecbie bL ambtun
Test Case /0o
Tay heeo to Poy
is Rg ll0o
Total Pauable. am@unt
=
RallOa 1as
Kae NolsPt Paul
ITUTEOF ENGINEERING &MANAGEMENT Page No. 20
3 TART
step1i-
2elate va iahJa tanmt ot Lyre
Cp 2 amt, tay,
loat
Arep 3-,nll-at2, amt hom UceS
J amt <2oo
4pe4
Di pla tey pajel i NIL aAd tpal amt
Poyalo
elee amt=2oo and amt 200
tay amt x O.|
tamtamtt bx
OISptauTax Aeed bo pay and tof amburt
paable 2000
ese a m t = 1200 nd cimt
tax-am *O. 15
tamt aamtt
to pay qtofal
amBund
Dicpay Tey necl
Poable
elne
tx-aamt * O-22
am amb
tay
DiployTaynd o pay ano toal ambui
Pauy able.
step 6 ToP
RallNa Jo5
Name:
Name: Na9itPaul
Year: 1St
Section
TTE OF ENGINEERING &MANAGEMENT
TITUTE
2.1
Page No. nosit
Pho a 2-
i n e l
o
ht mainO
u &MANAGEMENT
2.2
To tal Page No. ar
Tolla. 1o5
Xame
Xame Nal9it Paul
TUTEOFENGINEERING&MANAC Page No. .
23 .
Pah 26-(Alqo9ithm)
ep 3 TART
8tep5-TOP
RollOa: 1o5
ome:NaRa,o u
anUTE OF ENGINEERING&MANAGI
STITUTE
Page No. 24
Pooham3
Int main ()
int a
f(EnLe the numbes -
);
tanfd,4;
( a %2 =: o)
pstnC The numbeh ic Even In);
ble
DstnfC Thenumber is Ocld In");
tep 5 TOP
26
INSTHTUTE OF ENGINEERING &MANAGEMENT Page No. on
Pho Sam 4
telude <Stdiok
9nt main C)
Cha ch
Dsintf C"Entes. the phaber-');
Seanf C%e", kch;
'E' It eh--1' || cha-Co
C h = A | ch- =
Ch== Ce'
Il Ch-= I | Ch=- °a ||
1'Il eh== 0 || eh== Cy')
Ch is Vowel. In");
SPin-"The alphabe-
o40- TART
e
z0Tnitze. Ch hm Uce.
- i Ch-= oA eh=- E' Chr=
ePh Ch==Cu s . ch- -a 0 0s Ch==E
Ch
Roll No.
ame:
Year: