Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

OUTPUT

Mr.S.Govindha swamy

New street

Nagercoil-629001

OUTPUT
Enter the principle amount 1000

Enter the rate of interest

40

Enter the time period in year/n

10

Simple interest is

Rs.40000

Rs.27925.46
Output
given a value for a & b

65

45

after swapping a & b using third variable c is 45 65


OUTPUT
Enter the integer number one by one

95

65

55

The largest of the give three number is 95


OUTPUT
Enter the temperature in centigrade

50

Fahrenheit =122.000000

Enter the temperature in Fahrenheit

30

Centigrade=1.111111
OUTPUT
Enter the number of students

Enter the register number,name and six marks one by one

201

Arun

56

67

89

40

56

78

Enter the register number ,name and six marks one by one

202

Hari

67

89

98

60

80

37

Enter the register number ,name and six marks one by one

203
Priya

45

67

89

90

57

68

201 arun 616

202 hari 788

203 priya 696


OUTPUT
Enter a string

Priya narma

The length of the string is 12


OUTPUT
Give the days 30

1 months 0 day

Give the days 56

1 months 26 day
OUTPUT
Enter the sides a ,b ,c

10

15

20

area of triangle is 72.62


OUTPUT
Give an integer number 5

Factorial of the given number is 120


OUTPUT
give the value of n=10

2 3 4 5 6 7 8 9 10
OUTPUT
Give the value of a and b

2,2

1.000000
OUTPUT
Enter an integer number

234

Reverse order of 234 is 432

Sum of digit for 234is 9

Number of digit in 234 is 3


OUTPUT
Enter the total number

10

13

21

24

The sum is 88
OUTPUT
Enter a year 2015

The give year is not leap

Enter a year 2016

The give year is leap


OUTPUT
Enter the string:

Computer

Reverse :

Retupmoc
OUTPUT
Give the number of names to sort

Give the named one by one

Priya

Ammu

The sorted name are

Ammu

Priya
OUTPUT
Give any string of characters with numbers

23

Characters in the given string is 2

Number in the given string is 1

You might also like