0% found this document useful (0 votes)
29 views34 pages

Shyan

The document contains 27 questions asking to write programs to perform various tasks like printing welcome, calculating sums, finding greatest numbers, checking palindromes, printing patterns, calculating factorials recursively and using functions, finding Fibonacci series recursively, and more. The questions cover basic programming concepts like variables, conditionals, loops, functions, recursion, patterns, and switch statements.

Uploaded by

Raj Maddhesia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views34 pages

Shyan

The document contains 27 questions asking to write programs to perform various tasks like printing welcome, calculating sums, finding greatest numbers, checking palindromes, printing patterns, calculating factorials recursively and using functions, finding Fibonacci series recursively, and more. The questions cover basic programming concepts like variables, conditionals, loops, functions, recursion, patterns, and switch statements.

Uploaded by

Raj Maddhesia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 34

Ques 1: write a program to print welcome.

Ques 2: write a program to calculate sum of two integers.


Ques 3: write a program to find multiplication of three numbers.

Ques 4: write a program to find out the division of two integers.


Ques 5: write a program to find out the area of circle and square.
Ques 6: write a program to find out the absolute value of any given number.
Ques 7: write a program to interchange the value of two variables.

Ques 8: write a program to calculate the sum of digits entered through the keyboard.
Ques 9: write a program to check whether the given no is odd or even number.
Ques 10: write a program to check leap year pr not.
Ques 11: write a program to find out greatest number among three numbers.
Ques 12: write a program to swap two numbers using function.
Ques 13: write a program to check whether a number is palindrome or not.
Ques 14: write a program to make calculator using switch case.
Ques 15: write a program to find out the factorial of any numbers.
Ques 16: write a program to calculate the first N natural numbers.
Ques 17: write a program to print table of any number.
Ques 18: write a program to print month name using switch case.
Ques 19: write a program to display the grades according to percentage marks among 5
subjects as per user.

Ques 20: write a program to find out the factorial of a number recursively.
\Ques 21: write a program to check whether a given number is positive negative or zero.
Ques 22: write a program to print person is eligible to vote or not.
Ques 23: write a program to print the pattern.
*
* *
* * *
* * * *
* * * * *

Ques 24: write a program to check given number is Armstrong or not.


Ques 25: write a program to modify a number and de-modify a number by using a call by value
method.
Ques 26: write a program to modify the value after entering a number using call by reference.
Ques 27: write a program to find the Fibonacci series using recursion.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy