0% found this document useful (0 votes)
2 views

Rudra Program

The document is a computer applications project by Rudranarayan Halder from St. Paul's Academy, detailing various programming tasks and their implementations. It includes programs for calculating salaries, interest, velocity, and patterns, along with variable descriptions and input/output screens. The project emphasizes learning programming concepts and expresses gratitude towards teachers, peers, and family for their support.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Rudra Program

The document is a computer applications project by Rudranarayan Halder from St. Paul's Academy, detailing various programming tasks and their implementations. It includes programs for calculating salaries, interest, velocity, and patterns, along with variable descriptions and input/output screens. The project emphasizes learning programming concepts and expresses gratitude towards teachers, peers, and family for their support.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 53

ST PAUL’S ACADEMY

PURBA BARDHAMAN

NAME - RUDRANARAYAN HALDER


CLASS - IX
SECTION - D
ROLL NUMBER - 41
SUBJECT - COMPUTER APPLICATION
TOPIC – COMPUTER APPLICATIONS PROJECT .
PROJECT(1 or 2) - PROJECT 1[FINAL TERM]

[First Page]
PREFACE
Computer seems very interesting to me especially the program part .I have
always wanted to learn programming and this subject in m school have made it
possible . In my further project I have done twenty five program as directed by my
school.I have also provided the variable description along with the input and
output screen .By doing this project I have also learnt the lesson of consistency
and creativity .
ACKNOWLEDGEMENT
I would like to express my sincere gratitude to all those who have contributed in
the completion this project on time. First and foremost, I am deeply thankful to my
computer teacher , Mr Subrata Sir for his invaluable guidance,expertise and
unwavering encouragement throughout the process. Their insightful feedback and
thought provoking questions have been instrumental in shaping the direction and
quality of this work .

I am also grateful to the St Paul’s community,including my classmates and faculty


for fostering an environment conducive to learning and intellectual growth .The
discussions ,collaborations,and exchange of ideas within this community have been
truly enriching and have contributed immensely to the development of this project .

Additionally,I would like to acknowledge the support and understanding of my


family and friends,who have stood by me and provided a strong network of
emotional and moral support.Their belief in my abilities has been my constant
source of motivation and inspiration .

Finally ,I extend my appreciation to the various sources ,both online and offline
,that have been invaluable in my research and realization of this project. I am
thankful for the wealth of knowledge and expertise that the resources have made
accessible to me .
1. Write a program to input name and basic salary of an employee. Calculate and display the
gross salary and net salary when:
da= 30% of basic
hra= 12.5% of basic
pf= 10 % of basic
gross= basic + da +hra
net pay= gross – pf

PROGRAM

class prg1

void disp(double bs , String name)

double da = 30.00/100.00 * bs;

double hra = 12.50/100.00 * bs;

double pf = 10.00/100.00 * bs;

double gross = bs + da + hra;

double netsalary = gross - pf;

System.out.println("The name of the employee is " +name);

System.out.println("The gross salary is = " + gross);

System.out.println(" The net slary is = " +netsalary);

}
VARIABLE DESCRIPTION FOR QUESTION 1

VARIABLE NAME DATA TYPE DESCRIPTION


1) bs double To calculate basic salary
2) da double To calculate dearness Allowance
3) hra double To calculate House Rent Allowance
4) pf double To calculate Provident Fund
6)gross double To calculate gross salary
7)netsalary double To calculate net salary
8)name String To input name of the employee

INPUT SCREEN

OUTPUT SCREEN
2. A certain amount is invested at the rate 10% per annum for 3 years. Find the difference
between Compound Interest (CI) and Simple Interest (SI). Write a program to take amount as
an input.
SI= (P*R*T)/100 A=P*(1+R/100)T CI= A-P

PROGRAM

class prg2

void main(double amt)

double r =10.00,t=3.00;

double si=(amt * r * t)/100;

double ha=(1.00 +r/100.00);

double A = amt*ha*ha*ha;

double ci = A-amt;

double diff = ci-si;

System.out.println("The Simple interest is =" +si);

System.out.println("The Compound interest is = " +ci);

System.out.println("The difference between CI and SI is =" +diff);

}
VARIABLE DESCRIPTION FOR QUESTION 2

VARIABLE NAME DATA TYPE DESCRIPTION


1)amt double To input amount from the user
2)r double To store the rate of interest : 10
3)t double To store time period : 3
4)si double To store simple interest
5)ha double To store a part of the real amount
6)A double To store real amount
7)ci double To store the compound interest
8)diff double To store the difference between ci and si

INPUT SCREEN

OUTPUT SCREEN
3. The final velocity of a vehicle can be calculated by using the formula:
v2 = u2 + 2as
Where u= initial velocity, a= acceleration, s=distance covered
Write a program to calculate and display the final velocity by taking initial velocity, acceleration
and the distance covered as inputs.

PROGRAM

class pg3

void disp(double u,double a,double s)

double vsq=u*u + 2*a*s;

double v=Math.sqrt(vsq);

System.out.println("The final velocity is = " +v);

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1)u double To input initial velocity value
2)a double To input acceleration value
3)s double To input distance covered value
4)vsq double To store the square of the value of the final
velocity.
5)v double To store the real value of the final velocity.
INPUT SCREEN

OUTPUT SCREEN
4. Write a program to input three unequal numbers and display the second smallest
number.
Sample Input: 65, 41, 98
Sample Output: 65

PROGRAM

class prg4

void disp(int a,int b,int c)

if(a>b && a<c)

System.out.println("The Second smallest no is = " + a);

else if(a>c && a<b)

System.out.println("The Second smallest no is =" +a);

else if (b>c && b<a)

System.out.println("The Second smallest no is =" +b);

else if (b>a && b<c)

System.out.println("The Second smallest no is =" +b);

else if(c>a && c<b)

System.out.println("The second smallest no is =" +c);

else if (c>b && c<a)

System.out.println("The second smallest no is =" +c);

else

System.out.println("Either any two nos or all three nos are equal");


VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1)a int To store the first number
2)b int To store the second number
3)c int To store the second number

INPUT SCREEN

OUTPUT SCREEN
5. You enter a number in your computer. Write a program to check whether the number
entered by you, is a one digit number, a two digit number or a three digit number. Now
perform these tasks:
❖ If it is a one digit number then display its square.
❖ If it is a two digit number then display its square root.
❖ If it is a three digit number then display its cube root.
Otherwise, display the message “The number entered is more than three digits”

PROGRAM

class prg5

void disp (int n)

double p = 0;

if(n>=0 && n<=9)

System.out.println("Task carried out is = " +(n*n));

else if(n>=10 && n<=99)

System.out.println("Task carried out is = " +Math.sqrt(n));

else if(n>=100 && n<=999)

System.out.println("Task carried out is =" +Math.cbrt(n));

else

System.out.println("The number is more than three digits");

}}

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1)n int To input number from user
INPUT SCREEN (1)

INPUT SCREEN (2)

OUTPUT SCREEN (1)

OUTPUT SCREEN (2)


6. A Pre-Paid taxi charges from the passenger as per the tariff given below:

DISTANCE RATE

Up to 5 km Rs. 100

For the next 10 km Rs 10/km

For the next 20 km Rs 8/km

More than 35 km Rs 5/km

Write a program to input the distance covered and calculate the amount paid by the
passenger.

PROGRAM

class prg6

void disp (int d)

int r=0;

if(d<=5)

r=100;

else if(d>5 && d<=15)

r=100 + (d-5)*10;

else if(d>15 && d<=35)

r=100 + 10*10 + (d-15)*8;

else

r=100 + 10*10 +20*8 + (d-35) * 5;

System.out.println("The payable road tax rate is =" +r);

}}
VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1)d int To store the distance
2)r int To store rate to be paid

INPUT SCREEN

OUTPUT SCREEN
7. Write a menu driven program to perform the following tasks by using switch case
statement:
(a) To print the series:
0, 3, 8, 15, 24 ... to n terms (value of ‘n’ is to be an input by the user)
(b) To find the sum of the series:
1/2 + 3/4 + 5/6 + 7/8 + ………… + 19/20 .

PROGRAM

class prg7

void disp(int c,int n)

switch(c)

case 1 :

int s = 0;

for(int i =1 ; i<=n ;i++)

s=i*i - 1;

System.out.print( s+ " , ");

Break;

case 2:

double sum =0.00;

double num=1.00,den=2.00;

for (int j=1;j<=10;j++)

{ double p =num/den;
sum=sum+p;

num+=2;

den+=2;

System .out.println("The sum of the series is = " +sum);

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) c Switch case controlled variable
2) n To provide a limit in case 1
3) s To store each entity of series
4) i Loop controlled variable
5) sum To calculate the sum in case 2
6) num To store numerator
7) den To store the denominator
8) j Loop controlled variable
9) p To store the fraction entity in case 2
INPUT SCREEN

OUTPUT SCREEN
8. Write two separate programs to generate the following patterns using iteration statements:
(a) * (b) 5 4 3 2 1
*# 5432
*#* 543
*#*# 54
*#*#* 5

PROGRAM

class prg8

void patterna()

for (int i=1;i<=5;i++)

for(int j =1;j<=i;j++)

if(j%2!= 0)

System.out.print("*");

else

System.out.print("#");

System.out.println();

void patternb()

int a=5;
for(int m=5;m>=0;m--)

a=5;

for(int n = m;n>0;n--)

System.out.print(a+" ");

a--;

System.out.println();

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1)i int Loop controlled variable
2)j int Loop controlled variable
3)m int Loop controlled variable
4)n int Loop controlled variable
5)a int Used as a help variable in the second pattern
INPUT SCREEN

OUTPUT SCREEN --->

OUTPUT SCREEN
9. Design a class to overload a function volume () as follows:
(i) double volume (double r): with radius (r) as an argument, returns the volume of sphere using
the formula
v=4/3* 22/7* r3
(ii) double volume (double h, double r): with height (h) and radius (r) as the arguments, returns
the volume of a cylinder using the formula
v=22/7 * r2 * h
(iii) double volume (double l, double b, double h): with length (l), breadth (b), and height (h) as
the arguments, returns the volume of a cuboid using the formula
v=l * b* h

PROGRAM

class overloading

{ double v=0.00;

double volume(double r)

v=4.00/3.00*22.00/7*r*r*r;

return v;

double volume(double h,double r)

v=22.00/7.00*r*r*h;

return v;

double volume(double l,double b,double h)

v=l*b*h;

return v ;

void main(double r , double h , double l , double b)


{

Volume (r);

volume (h , r);

volume ( l, b , h);

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) v double To store the volume according to the
function.
2) r double To store value of radius.
3) l double To store value of length.
4) b double To store value of breadth .
5) h double To store value of height.
10. A Shopping Mall has announced the discount on the purchase of total item:

Purchase amount in Rs Discount

1-5000 5%

Above 5000-10000 10%

Above 10000-20000 15%

Above 20000 20%

Write a program to input amount of purchase and find the discount and print the net
amount to be paid by the customer.

PROGRAM

class prg10shopping

void disp(double pamt)

double dis =0.00; double namt = 0.00;

if(pamt>=1 && pamt<=5000)

dis=5.00/100.00* pamt;

else if(pamt>5000 && pamt<=10000)

dis=10.00/100.00 *pamt ;

else if(pamt>10000 && pamt<=20000)

dis=15.00/100.00 * pamt;

else

dis=20.00/100.00 * pamt ;

namt=pamt-dis;
System.out.println("Your net payable amount is : " + namt);

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) pamt double To store purchase amount
2) dis double To store discount value
3) namt double To store net amount

INPUT SCREEN

OUTPUT SCREEN
11. Write a program to accept a number and display the new number after removing all
zeros.
Sample Input- 5400207
Sample Output- 5427

PROGRAM

class prg11zeros

void disp(long n)

{ long d = 0,rwz=0,x=0,og=0,co=n;

while(n>0)

d=n%10;

n=n/10;

if(d!=0)

rwz=rwz*10+d ;

while(rwz>0)

x=rwz%10;

rwz=rwz/10;

og=og*10+x;

System.out.println(" The original number is " + co + " and the number after removing all
the zeros is " + og);

}
VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n long To input a number from the user.
2) d long To extract digits from the input number
3) rwz long To store the reverse number without zeros
4) x long To store the digits in reverse number
5) og long To store the original number
6)co long To store the copy of the number

INPUT SCREEN

OUTPUT SCREEN
12. Write a program to accept a number and display the frequency of each digit present in
the
number
Sample Input- 341124
Sample Output- The frequency of 3 = 1
The frequency of 4 = 2
The frequency of 1 = 2
The frequency of 2 = 1

PROGRAM

class prg12frequency

void disp(int n)

int d=0,c=0;int x=0;

for(int i =0 ;i<=9;i++)

c=0;

x=n;

while(x>0)

d=x%10;

x=x/10;

if(d==i)

c++;

if(c>0)

System.out.println(" Frequency of "+ i + " is " +c); }}}


VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) d int To store the digit of the input number
2) c int counter variable of each digit.
3) x int To store the copy of the input number
4) n int Number input by the user
5) i int loop controlled variable

INPUT SCREEN

OUTPUT SCREEN
12. Write a program to accept a number and check whether the number is present in the
Fibonacci series or not. The program displays the message accordingly.
Sample Input: 55
Sample Output: 55 is present in the Fibonacci series.

PROGRAM

class FibonacciCheck {

boolean isFibonacci(int num) {

int a = 0, b = 1;

while (a <= num) {

if (a == num) {

return true;

int c = a;

a = b;

b = c + b;

return false;

void main(int n) {

if (isFibonacci(n)) {

System.out.println(n + " is present in the Fibonacci series.");

} else {

System.out.println(n + " is not present in the Fibonacci series."); } } }


VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) num int To store as the input for the Boolean method
2)a int variable used for increasing
3)b int variable used for increasing
4)c int helping variable
5)n int to input number from the user

INPUT SCREEN

OUTPUT SCREEN
14. A prime number is said to be “Twisted Prime”, if the new number obtained after
reversing
the digits is also a prime number. Write a program to accept a number and check whether the
number is “Twisted Prime” or not.
Sample Input- 167
Sample Output- 761
167 is a Twisted Prime Number

PROGRAM

class prg14

void main(int n)

if(isprime(n) && isprime(twist(n)))

System.out.println("Is a twisted prime number ");

else

System.out.println("Not a twisted prime number");

boolean isprime(int m)

{ int c=0;

for(int i =1;i<=m;i++)

if(m%i==0)

c++;

if(c==2)

return true;
else

return false;

int twist(int q)

int d=0,copy=q,rev=0;

while(q>0)

d=q%10;

q=q/10;

rev=rev*10 + d;

return rev;

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To input the number
2) m int To copy n to the method
3) q int To copy n to the method
4) i int Loop controlled variable
5) c int Counter variable
6) d int To cut the digits from the number
7) copy int To store the copy of the number
8) rev int To store the reverse the number
INPUT SCREEN

OUTPUT SCREEN

INPUT SCREEN (1)

OUTPUT SCREEN (2)


15. A number is said to be Duck if the digit zero is (0) present in it. Write a program to accept a
number and check whether the number is Duck or not.
Sample Input- 5063
Sample Output- Duck Number
Sample Input- 7453
Sample Output- Not a Duck Number

PROGRAM

class prg15duck

void disp(int n)

int d,c=0;

while(n>0)

d=n%10;

if(d==0)

c++;

n=n/10;

if(c>0)

System.out.println("Duck Number");

else

System.out.println("Not a duck number");

}
VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To input the number from the user
2) c int To count the number of zeros in the
input no.
3) d int To cut the digit

INPUT SCREEN

OUTPUT SCREEN
17. Define a class to accept a four-digit number and check if it is a USHWA number or not. The
number is said to be USHWA
Accept a four digit number, If:
Sum of all digits = 2*(Sum of first and last digits)
Example 1:
n=1234
Sum of first and last digits = 1+4 = 5
Sum of all digits = 1+2+3+4 = 10
Example 2:
If the input value is 354, then an error message should be given as the number has only 3 digits.

PROGRAM

class prg17

void disp(int n)

{ int co = n;

if(n>=1000 && n<=9999)

int d=0;int sum =0;int f=n/1000;int l =n%10;int pro =2*(f+l);

while(n>0)

d=n%10;

n=n/10;

sum=sum+d;

if(sum==pro)

System.out.println("It is an USHWA Number");

else

System.out.println("It is not an USHWA Number");


}

else

{ int c = 0;

while(co>0)

co=co/10;

c++;

System.out.println("Not a USHWA number and contains "+ c + " digits"); } } }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To input the number from the user
2) co int To store the copy of the number
3) d int To cut digit
4) sum int To calculate sum of the digit
5) f int To cut first digit
6) l int To cut last digit
7) pro int To calculate the double of the sum of f & l
INPUT SCREEN

OUTPUT SCREEN
18. Write a program to display all Mersenne numbers between 1.....n using the method
name
MersenneNos (int n) where n has to be in the range 1-10.
[Mersenne numbers are the ones which are one less than a power of 2, i.e., M (n) = 2n-1 where
n is an integer. Some Mersenne numbers are 0, 1, 3, 7, 15, 31, 63, etc....]

PROGRAM

class prg18mersenne

void MersenneNos(int n)

{ if(n>=1 && n<=10)

for(int j =0;j<=n;j++)

if(mersennecheck(j))

System.out.println(j);

else

System.out.println(" WRONG RANGE ENTITY ");

boolean mersennecheck(int m)

{ int p =0,f=0;
for(int i=0;i<=m;i++)

p=(int)Math.pow(2,i)-1;

if(p==m)

f=1;

continue; }

if(f==1 )

return true;

else

return false ; } }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To input a number
2) j int loop controlled variable
3) m int To copy n to other method
4) p int To store the power of 2 and reduce 1 from it
5) f int Flag variable
6) i int Loop controlled variable
INPUT SCREEN

OUTPUT SCREEN
19. Define a class Exchange described as below:
Instance Variables / Data Members
int a, b - to store two numbers
Member Methods
Exchange (int x, int y) - Parameterised constructor to assign value to member variables.
void display () - to display values before swapping and after swapping.
void swap() - to swap the numbers without using any third variable.
Write a main method to create an object of the class and call the above member methods

PROGRAM

class Exchange

int a;int b;

Exchange(int x , int y)

a=x;

b=y;

void swap()

a=a+b;

b=a-b;

a=a-b;

void display()

System.out.println(" a : " + a + " b : "+b);

}
void main()

Exchange ob = new Exchange (a,b);

System.out.println("The numbers before swapping");

ob.display();

ob.swap();

System.out.println("The numbers after swapping");

ob.display();

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) a int To store 1st number
2)b int To store the 2nd number
3)x int For assigning values to the member variables
4) y int For assigning values to the member variables
INPUT SCREEN

OUTPUT SCREEN
20. Write a program to display each number with its factorial within the range n to m, where
n<m.
[Factorial of 4 means 4! = 4*3*2*1 =24]

PROGRAM

class prg20fact

public void disp(int n,int m)

if(n>m)

System.out.println("Wrong range . Type m greater than n");

else

for (int i =n;i<=m;i++)

int ch =checkfact(i);

System.out.println("The number is " +i+ "and its factorial is " + ch);

int f =1;

int checkfact(int k)

for(int i =1 ;i<=k;i++)

f=f*k;
}

return f; } }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To make the range
2) m int To make the range
3) i int loop controlled variable
4) ch int To store the factorial
outside the method
5) f int To store the factorial in
the method

INPUT SCREEN

OUTPUT SCREEN
21. Write a program to display the first 15 prime numbers

PROGRAM

class prg21primecheck

void disp ()

for(int k =1;k<=50;k++)

if(primechecker(k))

System.out.print(k+",");

boolean primechecker(int n)

int i =0;int c =0;

for(i =1;i<=n;i++)

if(n%i==0)

c++;

if(c==2)

return true ;

else
return false ; } }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) k int Loop controlled
variable
2) n int Number to be given in
the boolean meathod
3) i int Loop controlled
variable
4) c int Counter variable for
the no. of factors
INPUT SCREEN

OUTPUT SCREEN
22. Write a program to display all Palindromic numbers within the range 100 to 1000

PROGRAM

class prg22

boolean palindrome(int n)

int d=0,rev=0,co=n;

while(n>0)

d=n%10;

n=n/10;

rev=rev*10+d;

if(rev==co)

return true;

else

return false;

void main()

for(int i =1000;i<=9999;i++)

{
if(palindrome(i))

System.out.print(i+ ","); } } }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To input a number
2) d int To cut digit
3) rev int To reverse the number and store it
4) co int To store the copy of the number .
5) i int Loop controlled variable
INPUT SCREEN

OUTPUT SCREEN
23. Write a program to display all twin prime numbers within the range 1 to 1000.

PROGRAM

class TwinPrimeNumbers {

boolean isPrime(int num) {

if (num <= 1) {

return false;

for (int i = 2; i <= Math.sqrt(num); i++) {

if (num % i == 0) {

return false;

return true;

void main() {

for (int i = 2; i <= 1000 - 2; i++) {

if (isPrime(i) && isPrime(i + 2)) {

System.out.println("(" + i + ", " + (i + 2) + ")"); } } } }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) i int Loop controlled
variable(Used in both
the methods )
INPUT SCREEN

OUTPUT SCREEN
24. Write a program to input a number and check and print whether it is a Pronic number or
not.
[Pronic number is the number which is the product of two consecutive integers.]
Example- 12= 3*4
20= 4*5
42= 6*7

PROGRAM

class prg24pronic

void disp(int n)

int x =(int)Math.sqrt(n);

int x1=x+1;

int mul = x1*x;

if(mul == n)

System.out.println("It is a pronic number");

else

System.out.println("Not a pronic number");

}
VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) x int To store the square root of the input number
2) x1 int To add 1 to x1
3) mul int To store the product of x1 and x
INPUT SCREEN

OUTPUT SCREEN
25. Write a program to input a number from the user and check whether it is a Disarium
number or not.
[A number is said to be the Disarium number when the sum of its digits raised to the power of
their respective positions is equal to the number itself.]
Example 1: 175
11 + 72 + 53 = 1 + 49 + 125 = 175
Example 2: 89
81 + 92 = 8+81 = 89

PROGRAM

class prg25diarium

void disp(int n)

int x =n;int c =0;;int e =n;int d = 0;int sum = 0; int p =1;

while(n>0)

n=n/10;

c++;

for(int i =c;i>=1;i--)

{ d=x%10;

x=x/10;

p =(int)Math.pow(d,i);

sum =sum +p;

}
if(sum==e)

System.out.println("It is a disarium number");

else

System.out.println("It is not a disarium number"); }

VARIABLE DESCRIPTION

VARIABLE NAME DATA TYPE DESCRIPTION


1) n int To input a number
2) x int Copy variable
3) c int Digit counter variable
4) e int Copy variable
5) d int To cut digit
6) sum int To store the sum
7) p int To store the power
INPUT SCREEN

OUTPUT SCREEN
NAME– RUDRANARAYAN HALDER

CLASS – IX SECTION – D ROLLNUMBER -41

SUBJECT –COMPUTER APPLICATIONS

TOPIC– COMPUTER APPLICATIONS PROJECT FOR CLASS - IX

----------------------------------------------------------------------------------------------

SIGNATURE:

………………………………… ….……………………………….
(Internal Examiner) (External Examiner)

You might also like