Document from 《@d¡€¥@ $¡ng#》??
Document from 《@d¡€¥@ $¡ng#》??
Class – IX
TIME – 2 hours M.M.-80
This Paper is divided into two Sections.
Attempt all questions from Section A and any four questions from Section B.
The intended marks for questions or parts of questions are given in brackets [ ].
Question 5 - write a program that accepts principal, rate and time from user and print
compound interest and amount.
[ hint : amount=p(1+r/100)t. amount=principal+interest]
Question 6: Using nested loop write programs to display the following pattern.
(i) #@#@#@
#@#@#@
#@#@#@
#@#@#@
#@#@#@
#@#@#@
(ii) 1
12
123
1234
12345
Question 7: Write a program to input student’s name, class, marks of 4 subjects (Max
Marks=100). Compute percentage and give grade as following table
PERCENTAGE GRADE
>= 70 % A
>= 40 % and < 70 % B
< 40 C