Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
This is a free help Forum for Indian Students.
Complete IIT AIEEE ICSE ISC PMT help forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Complete IIT AIEEE ICSE ISC PMT help forum

Complete help forum for students preparing for icse iit aieee cbse pmt and other related exams.Stay updated about all 2011 exams.
 
HomeHome  PortalPortal  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  India NewsIndia News  
Keywords
physics papers SELECT graph RESULT 2006 UNION ICSE science computer 2007 2009 CLASS prelim question 2004 paper YEAR 2010 CASE
Latest topics
» Nitration of aniline - IIT JEE 2018 Advanced - solved
ICSE - Java Programs isc icse bluej questions for practice EmptyFri Jun 08, 2018 2:34 am by adianadiadi

» Diamagnetic - Paramagnetic - Ni(CO)4, [Ni(CN)4]2- and [NiCl4
ICSE - Java Programs isc icse bluej questions for practice EmptyFri Apr 06, 2018 1:05 am by adianadiadi

» IIT JEE chemistry solved interactive question paper
ICSE - Java Programs isc icse bluej questions for practice EmptySun Oct 29, 2017 12:11 pm by adianadiadi

» IIT JEE 2015 SOLVED QUESTION PAPER
ICSE - Java Programs isc icse bluej questions for practice EmptyWed Oct 19, 2016 1:44 pm by adianadiadi

» IIT JEE chemistry solved questions
ICSE - Java Programs isc icse bluej questions for practice EmptySat Jul 18, 2015 6:15 pm by adianadiadi

» General Description of Chinese Market for Foaming Agent ADC
ICSE - Java Programs isc icse bluej questions for practice EmptyFri May 09, 2014 2:09 pm by happybaicaitou

» How to get Lowest Cost MBBS Admission?
ICSE - Java Programs isc icse bluej questions for practice EmptyMon Feb 24, 2014 6:39 pm by MENTOR 2014

»  girl boy vashikaran specialist agori baba ji +91-9461165
ICSE - Java Programs isc icse bluej questions for practice EmptyTue Jan 21, 2014 6:00 pm by krshastri

»  STRONG LOST LOVE SPELL +91-9461165176
ICSE - Java Programs isc icse bluej questions for practice EmptyTue Jan 21, 2014 6:00 pm by krshastri

Top posters
abhas
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
Anu..i luv icse...:)
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
G-7
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
siya
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
Candy
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
jOhNy
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
Apurva
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
WinRrule
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
ambili
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 
saif
ICSE - Java Programs isc icse bluej questions for practice Vote_lcapICSE - Java Programs isc icse bluej questions for practice Voting_barICSE - Java Programs isc icse bluej questions for practice Vote_rcap 



Search if you can't find it here

Java Programs isc icse bluej questions for practice

View previous topic View next topic Go down
AuthorMessage
STJOHNS SCHOOL

STJOHNS SCHOOL


ICSE - Java Programs isc icse bluej questions for practice Vide
PostSubject: Java Programs isc icse bluej questions for practice ICSE - Java Programs isc icse bluej questions for practice EmptyTue Jan 19, 2010 8:26 pm

Q2.
An angle may be measured in degrees and minutes. E.g.


A=
70 degrees 35 minutes and B = 50 degrees 40 minutes
Now to find
the sum of these two angles:



C
= A + B


=
70 degrees 35 minutes + 50 degrees 40 minutes


=
121 degrees 15 minutes (Since 1 degree = 60 minutes)


Define
a
class angle
for accepting and calculating the sum of the two angles given. The
description of the class is given as follows:





Class
name angle
Data
members: int deg,min
Member functions:


angle() constructor
void
accept()
for
accepting the angles
angle
sumangle(angle, angle)
for
calculating the sum of the two




angles
given and return the sum.


void
display
() to
print sum of angles


Write
a program to specify the class angle with all member function and
main().
Back to top Go down
themeghdeepmb7




ICSE - Java Programs isc icse bluej questions for practice Vide
PostSubject: Re: Java Programs isc icse bluej questions for practice ICSE - Java Programs isc icse bluej questions for practice EmptyMon Jul 09, 2012 11:04 pm

STJOHNS SCHOOL wrote:
Q2.
An angle may be measured in degrees and minutes. E.g.


A=
70 degrees 35 minutes and B = 50 degrees 40 minutes
Now to find
the sum of these two angles:



C
= A + B


=
70 degrees 35 minutes + 50 degrees 40 minutes


=
121 degrees 15 minutes (Since 1 degree = 60 minutes)


Define
a
class angle
for accepting and calculating the sum of the two angles given. The
description of the class is given as follows:





Class
name angle
Data
members: int deg,min
Member functions:


angle() constructor
void
accept()
for
accepting the angles
angle
sumangle(angle, angle)
for
calculating the sum of the two




angles
given and return the sum.


void
display
() to
print sum of angles


Write
a program to specify the class angle with all member function and
main().
Back to top Go down

Java Programs isc icse bluej questions for practice

View previous topic View next topic Back to top
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Complete IIT AIEEE ICSE ISC PMT help forum :: ISC :: ISC 2010 [Class xii] :: ISC 2010 [Class xii]-