Index
01. Print “Hello World” 2
02. Find the sum of two numbers 3
03. Find the sum of three numbers 4
04. Find the Subtraction of two 5
numbers
05. Find the Subtraction of three 6
numbers
06. Find the Product of two numbers 7
07. Find the Division of two numbers 8
08. Find the Float of two numbers 9
09. Find the Average of three 10
numbers
10. Find the Simple Interest where 11
P(Principle) , R(Rate) , T(Time)
are given by the user
SIGNATURE
Index
11. Find a Area of Circle 12
12. Find a Circumference of Circle 13
13. Find a Area of Rectangle 14
14. Find a Perimeter of Rectangle 15
15. Input a character using keyboard 16
and convert it into uppercase
character
16. Find a Sum of digits of a four 17
digit number
17. Find the Reverse of four digit 19
number
18. The Swapping of a two numbers 21
using third variable
19. Find to Swap two numbers 22
without using third variable
20. Convert time from seconds to 23
hours , minutes , and seconds
SIGNATURE
Index
21. Check result obtained on applying
various Arithmetic Operations
24
22. Check result obtained by applying 26
various Relational Operators
23. Check whether a number is 27
divisible by 3 and 5 or by 3 or 5 ?
24. The Importance of += 28
25. Interchange value of two 29
variables without using third
variable (Assignment Operator)
26. Find the Greatest of two number a 30
and b using Conditional Operator
27. Find the Greatest of three different 31
numbers using Conditional Operator ?
28. Determine how Postfix and Prefix 32
operator increment works
29. Determine how Postfix and Prefix 33
operator decrement works
30. Determines size of Int , Float , Char 34
datatype in computer’s memory
SIGNATURE
Index
31. The use of address operator and a 35
pointer operator
32. Find the number is positive 36
33. Check whether number is negative or 37
positive
34. Check whether the number is even or 38
odd
35. Check if a number is divisible by both 39
5 and 7 or not
36. Find a Greatest of two numbers 41
37. Check whether a number is positive , 42
negative or zero
38. Find the Greatest of three numbers 44
using if else if statement (Ladder if)
39. Find the Greatest of three numbers by 46
using nested if
40. The use of Switch statement 48
SIGNATURE
Index
41. Input a day of week based on the 50
day number entered by the user
42. Print the grades of a student based on 52
the percentage of marks obtained by
him using if else if (Ladder if)
43. Check whether a Alphabet is vowel or 54
consonent
44. Print the number by given range 55
using while loop statement
45. Print a number by giving its 56
Beginning and Ending values
46. Print all the even numbers between 1 57
to 50
47. Print all the odd numbers between 1 58
to 50
48. Print the Table of numbers 59
49. Print the reverse of numbers between 60
50 to 1
50. Find the Factorial of a number 61
SIGNATURE
Index
51. Find the sum of digits of a number 62
using While Loop
52. The reverse of a number using While 63
Loop
53. The sum of first n numbers 64
54. The Average of first n numbers 65
55. Check whether a number is 66
Pellindrome or not
56. Check whether a three digit number is 68
Armstrong or not
57. Print the Fibnacci series upto a given 70
limit
58. Print the sum of first and last digit of 71
a number
59. Find the HCF of two numbers 72
60. Check whether a number is prime or 74
not
SIGNATURE
Index
61. Print a day of week based on the 76
first character entered by the user
62. Display a message student has passed 78
in English . If the marks in a subject
are 50 or greater than 50 other wise
no action is taken
79
63. Display what time of the day it is
64. Print the grades of a student based on 81
the percentage of marks obtained by
him by Using Nested If
65. Print the grades of a student based on 83
the percentage of marks obtained by
him by Using Simple If
66. Display the message WELCOME 4 85
times Using Do-While Loop
67. Calculate the sum of first 10 positive 86
natural numbers
68. Display all numbers lying between 1 87
to 200 which are divisible by number
n that enter by user
69. Print the following outputs 88
70. Print the following outputs 89
SIGNATURE
Index
71. Print the following outputs 90
72. Print the following outputs 91
92
73. The use of Break Statement
74. The use of Continue Statement 93
75. The use of Forward goto with 94
condition
76. The use of Forward goto without 95
condition
77. The use of Backward goto with 96
condition
78. Print the number by giving range 97
Using For Statement
79. Print a number by giving Beginning 98
and Ending values Using For
Statement
80. Print the all even numbers between 1 99
to 50 Using For Statement
SIGNATURE
Index
81. Print all odd numbers between 1 to 100
50 Using For Statement
82. Print the Table of a number Using 101
For statement
102
83. Print the reverse of number between
50 to 1 Using For Statement
84. Find the Factorial of a number Using 103
For Statement
85. Find the Sum of first n numbers by 104
Using For Statement
86. Find the Average of first n numbers 105
by Using For Statement
87. Check whether a number is prime or 106
not Using For Statement
88. Input and Display 1-D Array 108
89. Find the Sum of all Array elements 109
90. Find the Average of all Array 110
elements
SIGNATURE