You are on page 1of 15

CERTIFICATE

This is to certify that this project is submitted by to the


IP department, INDIRA GANDHI MEMORIAL SCHOOL ,DUM DUM was carried out
by her under the guidance and supervision of Mr. AVINASH SINGH during
academic session 2012-2013.

Date:

(Chemistry teacher)

External Examiner:-

Internal Examiner:-
ACKNOWLEDGEMENT

I w i s h to e x p r es s m y d e e p g ra titud e a n d sincere t h a n k s to

MR.AVINASH SINGH,INDIRA GANDHI MEMORIAL SCHOOL for h e r


e n c o u r a g e m e n t a n d for all t h e facilities t h a t h e p r o v i d e d for this project work.
I sincerely ap p r e c ia te this m ag n a n i m it y taking m e into his fold for wh ich I shall
r e m a i n i n d e b t e d to him.

I e x t en d m y h e a r t y t h a n k s to MR. AVINASH SINGH, IP Teach er w h o gu ided m e to


d o this project successful completion of t h u s project. I ta k e this o p p o r t u n it y to
e x p r e ss m y d e e p s e n s e of g ratitu d e for his invaluable guidance, constant
e n c o u ra g em e n t, constructive c o m m e n ts , sy mp ath etic a tti tu d e a n d i m m e n s e
motivation wh ich h a s su sta in e d m y effort a t all stag es of this project work.
DECLARATION

I d o h e r e b y declare t h a t this project w o r k h a s b e e n originally c arried u n d e r


the guidance a n d su perv ision of

MR. AVINASH SINGH, INDIRA GANDHI MEMORRIAL

SCHOOL, DUM DUM


CONTENTS:

Find out average of three different number.

Discount calculation on any purchase using if condition.

Calculation of percentage of marks on any three subjects.

Temperature conversion from o C to o F.
• Find the sum of all number within a given range using for loop.

Print first ten odd and even number using for loop.

Find the factorial of a given number.

Left alignment of *.

Find the LCM of two given number.

Sum of all even and odd numbers from 1-50.

An application to reverse the string.

An aplication that changes the first letter of word in upper case.

An application that counts the occurrence of char “s”.

Display grade record to marks.

Sum of all even and odd numbers from 1-50.
• Display greater numger among three numbers.

Find the square and cube of a number.

Find the day of a week.

Find the hcf of two given number.
JAVA GUI PR A GG MA MS w i t h c o d e s & JFrames
1. Find out average of three different number.

Ans. The code is

2 . Discount calculation on any purchase using if condition.

Ans.

1
3 . Calculation of percentage of marks on any three subjects.

Ans. The code is:

o o
4 . Temperature conversion from C to F.

Ans. The code is

2
5 . Find the sum of all number within a given range using for loop.

Ans.

1 2 3 4 5 6 7 8 9 10=55

6.Print first ten odd and even number using for loop.

Ans. int i;

for (i=1;i<20;i+=2)

system.out,.print(i+"");

7.Find the factorial of a given number.

Ans.

3
8 . Left alignment of *.

Ans.

* *

* * *

* * * *

9 . Find the LCM of two given number.

Ans.

4
10. Find the hcf of two given number.

Ans.

11 . Find the day of a week.

Ans.

5
12. Find the square and cube of a number.
Ans .

13. Display greater numger among three numbers.


Ans.

6
14. Sum of all even and odd numbers from 1-50.

Ans.

15. Display grade record to marks.


Ans.

7
16. An application that counts the occurrence of char “ s ” .

Ans.

17. An aplication that changes the first letter of word in upper case.

Ans.

8
18. An application to reverse the string.

Ans.

9
19. Sum of all even and odd numbers from 1-50.

Ans.

10

You might also like