You are on page 1of 2

PROGRAMMING-FUNDAMENTAL

(Quiz # 01)

Name: _________________ Roll No: ________________ Section: V1 Total marks: 20


1 Late submission will not be entertained.
2 Save your work as a PDF file. And zip the file with the following name convention:
F2020266045_V1_Quiz.zip (this would be the filename for student with roll number F2020-266-045, in
section V1)..
QUESTIONS
Q1 Write a C++ program which take input from user between the range of (1-99999) then check
either a number user enters is 5-digit number , 4-digit number , 3-digit number, 2-digit number or single-
digit number.

Output:

Q2 Write a C++ program to take input of salary of employee and his grade
then add bonus in his total salary according to the data given below then display salary after adding
bonus.
(hint: take salary and bonus in float datatype)

Grade 17 and above 60%


Grade 16 and above 50%
Grade 15 and above 40%
Grade 14 and above 30%
Grade 13 and above 20%
Output:

Q3 Write a C++ program to take input from user and display month name on that specific serial
number.
(Hint: 1= january , 2= february , 3=March , ...……)

Output:

……………………………………………………………………………………….The
End……………………………………………………………………………………………

You might also like