0% found this document useful (0 votes)
14 views18 pages

Practical Experiments in Programming

The document contains a series of experiments related to programming and data input/output, including tasks like finding the largest number, displaying multiplication tables, and demonstrating function overloading. Each experiment includes code snippets, expected outputs, and spaces for teacher signatures. The overall focus is on practical coding exercises and understanding basic programming concepts.

Uploaded by

stevenkk77kk
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views18 pages

Practical Experiments in Programming

The document contains a series of experiments related to programming and data input/output, including tasks like finding the largest number, displaying multiplication tables, and demonstrating function overloading. Each experiment includes code snippets, expected outputs, and spaces for teacher signatures. The overall focus is on practical coding exercises and understanding basic programming concepts.

Uploaded by

stevenkk77kk
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Page No. - Z .

[Link].

find geatasy
CozditicGnal oatar
impast aua util &ann y
publiceass agLsth
pablie elass asgest

int a b, Cargt temp,


Slamn
out pintlnc"Entes t h e tnukeh:");
&yste
Qutpitln ( Ent the Belond numkU ");
Bygtorn
b
atpintln (Etez the thlhd umeuy ):
System

Langest

Teacher's Signature:
Experimnt Name

butput
Ente
Ertei bhe Setond mmbesz:6
Entor ha thihd nnbet:7
The larg0st membes:7

Teacher'Signature
s
Datc.
[Link]. . Page No. -

Auklicclass Aanasej

public hatie lad neaia lteing Ilage)?

<Caunt tti)

tn

Teacher's Signature
Experiment Name

Qutput!

34

Teachers Signature
Date...

[Link]. -- Page No. 3.

Ertat a

publiz statie uald naia(ing

Teacher's Signature
Experim¹nt Name

Gutput
6 3 s odd
munbe
Entay a mumhe: 9

Teacher's Signature
Date
[Link]. Page No. 4

Gdite a peaga ta display tables fen 2to

Syeheauatplintn (" ase af" + i " )

Teacher's Signature:
Experimernt Name

utt
Tabllef2: Tableo3: Table of5:
5Xl= 5
3X2G
3X3). Mx312

3X5=15 Y*5 20 5X5 . 5

5X735
2X = \6. 3X+=2) 4xo32
3X824.
39 2 27 Xg 36
2)0 20
3 o 30

Toublaa7:
9X 9
7x3 22)
7X423
&X3224 9X327 lo X3 3

6xB 36 X5 35
SX432
9x5M5
XE 2
gx<54
lox?-7o
Sx& 72
879 =2
loxio: lo

Teacher's Signature
Date_
[Link]. - Page No. 5

augeite

Sykteas-et pidtlm ( Erth youtr ghrcle abtaimeel

Sy&teracutpistl(" Gatadei
SCamneh nAZht

systemQud puntln setiaiecl

Syatermaut plint2

Teacher's Signature
Date_
[Link]. Page No. -6.

yete Qut iatln (" Ealled ")

Teacher's Signature
Experiment Name

Gutput
Entr yous qzade cbtoined

Teacher's Signature
Date.

[Link]. .6. Page No. 7

inta
tasis, chjacts
mettod

fackage Yeah- ueekk- day i


dampant jaa bil scaanehj
Puklie class yeath- ek- Doy ?
Public static usid ma (sting I lags ) i
int m, yeah, ulenk,dayj

m S. nertte

Systemaut-pinkdn CNheef yeat: " + Yeai);

Systen-Qut pointlnAo a eek:" lock )3


day= m
SYsternsQlt" primtn "No a cay day);

Teachers Signature
Experiment Name

utpt
Ertes the nmkon af clays : 56
No
uleek ' 3
No o day

Teacher's Signature
Date.
Expt. No. - 7 Page No. - . .

Pregiom. to demenithate lunctiom çloleadany


public class sumawrloading
Rublik
Juctu (X+Y);

Rublic dauble Sum (dauble X, dauble y)


etutn CX+y)

publie satik waid main (steing I7 ags)?


adeading
sum Cla,2c));
();
SYstegauh Bhintln (s
SYsto tpeiptl [Link], 20, 30))

Teacher's Signature
Experiment Name

output
30
60
31-0

Teacher's Signature :
Date.
[Link]. . 8
Page No. 9

ite
Bimgle inheitamca d the nIA af
Nalusea tubaid

public clags Rectangle 1


i t lengthuidth, huighis

publie aid input (02


Syste cutporint ( Ende emptl, )
lengta etpint ( Eate
Systenn uidth!):
width

heigh
cass Eindout etends

Teacher's Signature
Experiment Name

utputr
Ente elth 12
Ertes theigtt 6

cHbsidasoy

Teacher's Signature:.
Date.
Page No. J0..
[Link].

Findut f

Teacher's Signature

You might also like