Untitled Document
Untitled Document
1:
Q
5
54
543
5432
54321
2:
Q
A
BB
CCC
DDDD
EEEEE
3:
Q
Enter three numbers:
87
65
34
Greatest Number: 87
Smallest Number: 34
4:
Q
Enter the area of the circle:
300
The radius of the circle is: 9.770084209183944
5:
Q
91234322
Time after conversion: 25342 Hour(s) 52 Minute(s) 2 Second(s)
6:
Q
Enter Physics marks:
74
Enter Chemistry marks:
65
Enter Biology marks:
56
Average Marks: 65
7:
Q
Enter the length of the perpendicular:
20
Enter the length of the base:
10
Hypotenuse of the right-angled triangle: 22.360679774997898
8:
Q
Enter a number:
20
Absolute value: 20.0
Square root: 4.47213595499958
Cube: 8000.0
9:
Q
Enter a no.
153
It is an armstrong no.
Q10:
*
* #
* # *
* # * #
* # * # *
11:
Q
Enter 1 to display all prime numbers
Enter 2 to display all non-prime numbers
Enter your choice:
1
Prime numbers between 1 and 100:
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97
12:
Q
Sum=1.5334387718720317
13:
Q
Enter 10 integers:
1
2
3
4
5
6
7
8
9
10
Sum of prime numbers=17
14:
Q
12 18 20 24 30 36 40 42 48 54 56 60 66 70 72 78 80 84 88 90 96 100
15:
Q
All 3-digit palindromic numbers:
101
111
121
131
141
151
161
171
181
191
202
212
222
232
242
252
262
272
282
292
303
313
323
333
343
353
3 63
373
383
393
404
414
424
434
444
454
464
474
484
494
505
515
525
535
545
555
565
575
585
595
606
616
626
636
646
656
666
6 76
686
696
707
717
727
737
747
757
767
777
787
797
808
818
828
838
848
858
868
878
8 88
898
909
919
929
939
949
959
969
979
9 89
9 99
16:
Q
Enter a no.
55
The no. is a magic no.
17:
Q
Table of 5
5*1 = 5
5*2 = 10
5*3 = 15
5*4 = 20
5*5 = 25
5*6 = 30
5*7 = 35
5*8 = 40
5*9 = 45
5*10 = 50
Table of 6
6*1 = 6
6*2 = 12
6*3 = 18
6*4 = 24
6*5 = 30
6*6 = 36
6*7 = 42
6*8 = 48
6*9 = 54
6*10 = 60
T able of 7
7*1 = 7
7*2 = 14
7*3 = 21
7*4 = 28
7*5 = 35
7*6 = 42
7*7 = 49
7*8 = 56
7*9 = 63
7*10 = 70
Table of 8
8*1 = 8
8*2 = 16
8*3 = 24
8*4 = 32
8*5 = 40
8*6 = 48
8*7 = 56
8*8 = 64
8*9 = 72
8*10 = 80
Table of 9
9*1 = 9
9*2 = 18
9*3 = 27
9*4 = 36
9*5 = 45
9*6 = 54
9*7 = 63
9*8 = 72
9 *9 = 81
9*10 = 90
Table of 10
10*1 = 10
10*2 = 20
10*3 = 30
10*4 = 40
10*5 = 50
10*6 = 60
10*7 = 70
10*8 = 80
10*9 = 90
10*10 = 100
18:
Q
9 9 9 9 9
7 7 7 7 7
5 5 5 5 5
3 3 3 3 3
1 1 1 1 1
19:
Q
Enter no. of terms
4
Sum of series = 20
20:
Q
Enter a: 2
Enter n: 5
Sum=3.4333333333333336