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

C & c++ Outputs

The document outlines a series of programming tasks and exercises, primarily focused on basic operations and data structures in programming. It includes tasks such as arithmetic operations, string manipulation, and the use of structures and pointers. The tasks are designed to enhance programming skills and understanding of fundamental concepts.

Uploaded by

akhilalex537
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

C & c++ Outputs

The document outlines a series of programming tasks and exercises, primarily focused on basic operations and data structures in programming. It includes tasks such as arithmetic operations, string manipulation, and the use of structures and pointers. The tasks are designed to enhance programming skills and understanding of fundamental concepts.

Uploaded by

akhilalex537
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

1) Add Two Integers.

2) Print an Integer.
3)Multiply Two Floating Numbers.

4)Find ASCII Value Of a Character.


5) Compute Quotient and Remainder

6)Size of int,float,double,and char


7)Swap Two Numbers Using Temporary Variable

8) Check Whether a Number is Even or Odd.


9)Check Odd or even Using The Ternary Operator

10)character is a vowel or a consonant


11) Find the Largest Number Among Three Numbers

12)To Check Leap Year


13)check whether a character is an alphabet or not.
14) Sum of first N Natural Numbers.

15) Find Factorial of a Number.


16)Multiplication table of given number.

17)Display Fibonacci Sequence up to n numbers.


18) Count Number of digits in an integer.

19)Reverse a Number
20) Whether a Number is palindrome or not
21)Check Whether a Number is Prime or Not.
22) Armstrong or not
23)To Make a Simple Calculator using Switch ….. Case

24)To Create Pyramid and Pattern


25)Reverse a sentence using Recursion

26)Display prime numbers b/w intervals using function


27)Convert Binary Number to Decimal and vice versa.

28) check prime or armstrong number


29)calculate the power using recursion

30) Gcd using recursion


31)calculate Average Using Arrays.

32)Find Largest Element in an Array.


33)Add Two matrices using Multi-Dimensional Arrays.

34) Find the Length of a String.


35)Concatenate Two String.

36)Copy String without using strcpy()


37)Count the Number of Vowels,Consonants and so on

38) Find the Frequency of characters a string.


39)Acess Array Elements Using Pointers.

40)Create,Intialise,assign and access a pointer Variable.


41) Swap two numbers using Pointers

42)Count Vowels and consonants in a string using Pointers


43) to store information of a student using structure.

44)Add Two Distances(in inch feet system) using structures.


45)Store Information of students using Structure.

46)declare,initialise an union
47)to implement function overloading.

48)calculate an area of rectangle


49) Add Two Numbers Using Data Abstraction.

50)overload binary operators.

You might also like